Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.downloader.const Namespace Reference

Variables

 _LOGGER = logging.getLogger(__package__)
 
string ATTR_FILENAME = "filename"
 
string ATTR_OVERWRITE = "overwrite"
 
string ATTR_SUBDIR = "subdir"
 
string ATTR_URL = "url"
 
string CONF_DOWNLOAD_DIR = "download_dir"
 
string DEFAULT_NAME = "Downloader"
 
string DOMAIN = "downloader"
 
string DOWNLOAD_COMPLETED_EVENT = "download_completed"
 
string DOWNLOAD_FAILED_EVENT = "download_failed"
 
string SERVICE_DOWNLOAD_FILE = "download_file"
 

Detailed Description

Constants for the Downloader component.

Variable Documentation

◆ _LOGGER

homeassistant.components.downloader.const._LOGGER = logging.getLogger(__package__)
private

Definition at line 5 of file const.py.

◆ ATTR_FILENAME

string homeassistant.components.downloader.const.ATTR_FILENAME = "filename"

Definition at line 10 of file const.py.

◆ ATTR_OVERWRITE

string homeassistant.components.downloader.const.ATTR_OVERWRITE = "overwrite"

Definition at line 13 of file const.py.

◆ ATTR_SUBDIR

string homeassistant.components.downloader.const.ATTR_SUBDIR = "subdir"

Definition at line 11 of file const.py.

◆ ATTR_URL

string homeassistant.components.downloader.const.ATTR_URL = "url"

Definition at line 12 of file const.py.

◆ CONF_DOWNLOAD_DIR

string homeassistant.components.downloader.const.CONF_DOWNLOAD_DIR = "download_dir"

Definition at line 9 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.downloader.const.DEFAULT_NAME = "Downloader"

Definition at line 8 of file const.py.

◆ DOMAIN

string homeassistant.components.downloader.const.DOMAIN = "downloader"

Definition at line 7 of file const.py.

◆ DOWNLOAD_COMPLETED_EVENT

string homeassistant.components.downloader.const.DOWNLOAD_COMPLETED_EVENT = "download_completed"

Definition at line 18 of file const.py.

◆ DOWNLOAD_FAILED_EVENT

string homeassistant.components.downloader.const.DOWNLOAD_FAILED_EVENT = "download_failed"

Definition at line 17 of file const.py.

◆ SERVICE_DOWNLOAD_FILE

string homeassistant.components.downloader.const.SERVICE_DOWNLOAD_FILE = "download_file"

Definition at line 20 of file const.py.