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

Variables

string API_CHANGE = "change"
 
string API_CONTEXT = "context"
 
string API_DIRECTIVE = "directive"
 
string API_ENDPOINT = "endpoint"
 
string API_EVENT = "event"
 
string API_HEADER = "header"
 
string API_PASSWORD = "password"
 
string API_PAYLOAD = "payload"
 
string API_SCOPE = "scope"
 
dictionary API_TEMP_UNITS
 
dictionary API_THERMOSTAT_MODES_CUSTOM
 
dictionary API_THERMOSTAT_PRESETS = {climate.PRESET_ECO: "ECO"}
 
string ATTR_MAIN_TEXT = "mainText"
 
string ATTR_REDIRECTION_URL = "redirectionURL"
 
string ATTR_STREAM_URL = "streamUrl"
 
string ATTR_TITLE_TEXT = "titleText"
 
string ATTR_UID = "uid"
 
string ATTR_UPDATE_DATE = "updateDate"
 
string CONF_AUDIO = "audio"
 
string CONF_DISPLAY_CATEGORIES = "display_categories"
 
string CONF_DISPLAY_URL = "display_url"
 
string CONF_ENDPOINT = "endpoint"
 
string CONF_ENTITY_CONFIG = "entity_config"
 
string CONF_FILTER = "filter"
 
string CONF_LOCALE = "locale"
 
tuple CONF_SUPPORTED_LOCALES
 
string CONF_TEXT = "text"
 
string CONF_TITLE = "title"
 
string CONF_UID = "uid"
 
string DATE_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
 
string DOMAIN = "alexa"
 
string EVENT_ALEXA_SMART_HOME = "alexa_smart_home"
 
string PRESET_MODE_NA = "-"
 
string STORAGE_ACCESS_TOKEN = "access_token"
 
string STORAGE_REFRESH_TOKEN = "refresh_token"
 
string SYN_RESOLUTION_MATCH = "ER_SUCCESS_MATCH"
 

Detailed Description

Constants for the Alexa integration.

Variable Documentation

◆ API_CHANGE

string homeassistant.components.alexa.const.API_CHANGE = "change"

Definition at line 43 of file const.py.

◆ API_CONTEXT

string homeassistant.components.alexa.const.API_CONTEXT = "context"

Definition at line 39 of file const.py.

◆ API_DIRECTIVE

string homeassistant.components.alexa.const.API_DIRECTIVE = "directive"

Definition at line 36 of file const.py.

◆ API_ENDPOINT

string homeassistant.components.alexa.const.API_ENDPOINT = "endpoint"

Definition at line 37 of file const.py.

◆ API_EVENT

string homeassistant.components.alexa.const.API_EVENT = "event"

Definition at line 38 of file const.py.

◆ API_HEADER

string homeassistant.components.alexa.const.API_HEADER = "header"

Definition at line 40 of file const.py.

◆ API_PASSWORD

string homeassistant.components.alexa.const.API_PASSWORD = "password"

Definition at line 44 of file const.py.

◆ API_PAYLOAD

string homeassistant.components.alexa.const.API_PAYLOAD = "payload"

Definition at line 41 of file const.py.

◆ API_SCOPE

string homeassistant.components.alexa.const.API_SCOPE = "scope"

Definition at line 42 of file const.py.

◆ API_TEMP_UNITS

dictionary homeassistant.components.alexa.const.API_TEMP_UNITS
Initial value:
1 = {
2  UnitOfTemperature.FAHRENHEIT: "FAHRENHEIT",
3  UnitOfTemperature.CELSIUS: "CELSIUS",
4 }

Definition at line 65 of file const.py.

◆ API_THERMOSTAT_MODES_CUSTOM

dictionary homeassistant.components.alexa.const.API_THERMOSTAT_MODES_CUSTOM
Initial value:
1 = {
2  climate.HVACMode.DRY: "DEHUMIDIFY",
3  climate.HVACMode.FAN_ONLY: "FAN",
4 }

Definition at line 84 of file const.py.

◆ API_THERMOSTAT_PRESETS

dictionary homeassistant.components.alexa.const.API_THERMOSTAT_PRESETS = {climate.PRESET_ECO: "ECO"}

Definition at line 88 of file const.py.

◆ ATTR_MAIN_TEXT

string homeassistant.components.alexa.const.ATTR_MAIN_TEXT = "mainText"

Definition at line 27 of file const.py.

◆ ATTR_REDIRECTION_URL

string homeassistant.components.alexa.const.ATTR_REDIRECTION_URL = "redirectionURL"

Definition at line 28 of file const.py.

◆ ATTR_STREAM_URL

string homeassistant.components.alexa.const.ATTR_STREAM_URL = "streamUrl"

Definition at line 26 of file const.py.

◆ ATTR_TITLE_TEXT

string homeassistant.components.alexa.const.ATTR_TITLE_TEXT = "titleText"

Definition at line 25 of file const.py.

◆ ATTR_UID

string homeassistant.components.alexa.const.ATTR_UID = "uid"

Definition at line 23 of file const.py.

◆ ATTR_UPDATE_DATE

string homeassistant.components.alexa.const.ATTR_UPDATE_DATE = "updateDate"

Definition at line 24 of file const.py.

◆ CONF_AUDIO

string homeassistant.components.alexa.const.CONF_AUDIO = "audio"

Definition at line 14 of file const.py.

◆ CONF_DISPLAY_CATEGORIES

string homeassistant.components.alexa.const.CONF_DISPLAY_CATEGORIES = "display_categories"

Definition at line 46 of file const.py.

◆ CONF_DISPLAY_URL

string homeassistant.components.alexa.const.CONF_DISPLAY_URL = "display_url"

Definition at line 16 of file const.py.

◆ CONF_ENDPOINT

string homeassistant.components.alexa.const.CONF_ENDPOINT = "endpoint"

Definition at line 20 of file const.py.

◆ CONF_ENTITY_CONFIG

string homeassistant.components.alexa.const.CONF_ENTITY_CONFIG = "entity_config"

Definition at line 19 of file const.py.

◆ CONF_FILTER

string homeassistant.components.alexa.const.CONF_FILTER = "filter"

Definition at line 18 of file const.py.

◆ CONF_LOCALE

string homeassistant.components.alexa.const.CONF_LOCALE = "locale"

Definition at line 21 of file const.py.

◆ CONF_SUPPORTED_LOCALES

tuple homeassistant.components.alexa.const.CONF_SUPPORTED_LOCALES
Initial value:
1 = (
2  "de-DE",
3  "en-AU",
4  "en-CA",
5  "en-GB",
6  "en-IN",
7  "en-US",
8  "es-ES",
9  "es-MX",
10  "es-US",
11  "fr-CA",
12  "fr-FR",
13  "hi-IN",
14  "it-IT",
15  "ja-JP",
16  "pt-BR",
17 )

Definition at line 47 of file const.py.

◆ CONF_TEXT

string homeassistant.components.alexa.const.CONF_TEXT = "text"

Definition at line 15 of file const.py.

◆ CONF_TITLE

string homeassistant.components.alexa.const.CONF_TITLE = "title"

Definition at line 13 of file const.py.

◆ CONF_UID

string homeassistant.components.alexa.const.CONF_UID = "uid"

Definition at line 12 of file const.py.

◆ DATE_FORMAT

string homeassistant.components.alexa.const.DATE_FORMAT = "%Y-%m-%dT%H:%M:%SZ"

Definition at line 34 of file const.py.

◆ DOMAIN

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

Definition at line 8 of file const.py.

◆ EVENT_ALEXA_SMART_HOME

string homeassistant.components.alexa.const.EVENT_ALEXA_SMART_HOME = "alexa_smart_home"

Definition at line 9 of file const.py.

◆ PRESET_MODE_NA

string homeassistant.components.alexa.const.PRESET_MODE_NA = "-"

Definition at line 92 of file const.py.

◆ STORAGE_ACCESS_TOKEN

string homeassistant.components.alexa.const.STORAGE_ACCESS_TOKEN = "access_token"

Definition at line 94 of file const.py.

◆ STORAGE_REFRESH_TOKEN

string homeassistant.components.alexa.const.STORAGE_REFRESH_TOKEN = "refresh_token"

Definition at line 95 of file const.py.

◆ SYN_RESOLUTION_MATCH

string homeassistant.components.alexa.const.SYN_RESOLUTION_MATCH = "ER_SUCCESS_MATCH"

Definition at line 30 of file const.py.