mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
b194741a13
Signed-off-by: Pierre PÉRONNET <pierre.peronnet@gmail.com> Co-authored-by: Ariel Ebersberger <ariel@ebersberger.io>
20 lines
443 B
Python
20 lines
443 B
Python
"""Constants for the Downloader component."""
|
|
|
|
import logging
|
|
|
|
_LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "downloader"
|
|
DEFAULT_NAME = "Downloader"
|
|
CONF_DOWNLOAD_DIR = "download_dir"
|
|
ATTR_FILENAME = "filename"
|
|
ATTR_SUBDIR = "subdir"
|
|
ATTR_URL = "url"
|
|
ATTR_OVERWRITE = "overwrite"
|
|
ATTR_HEADERS = "headers"
|
|
|
|
DOWNLOAD_FAILED_EVENT = "download_failed"
|
|
DOWNLOAD_COMPLETED_EVENT = "download_completed"
|
|
|
|
SERVICE_DOWNLOAD_FILE = "download_file"
|