Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.cloud.alexa_config Namespace Reference

Classes

class  CloudAlexaConfig
 

Functions

bool entity_supported (HomeAssistant hass, str entity_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CLOUD_ALEXA = f"{CLOUD_DOMAIN}.{ALEXA_DOMAIN}"
 
dictionary SUPPORTED_BINARY_SENSOR_DEVICE_CLASSES
 
dictionary SUPPORTED_DOMAINS
 
dictionary SUPPORTED_SENSOR_DEVICE_CLASSES
 
int SYNC_DELAY = 1
 

Detailed Description

Alexa configuration for Home Assistant Cloud.

Function Documentation

◆ entity_supported()

bool homeassistant.components.cloud.alexa_config.entity_supported ( HomeAssistant  hass,
str  entity_id 
)
Return if the entity is supported.

This is called when migrating from legacy config format to avoid exposing
all binary sensors and sensors.

Definition at line 105 of file alexa_config.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.cloud.alexa_config._LOGGER = logging.getLogger(__name__)
private

Definition at line 56 of file alexa_config.py.

◆ CLOUD_ALEXA

string homeassistant.components.cloud.alexa_config.CLOUD_ALEXA = f"{CLOUD_DOMAIN}.{ALEXA_DOMAIN}"

Definition at line 58 of file alexa_config.py.

◆ SUPPORTED_BINARY_SENSOR_DEVICE_CLASSES

dictionary homeassistant.components.cloud.alexa_config.SUPPORTED_BINARY_SENSOR_DEVICE_CLASSES
Initial value:
1 = {
2  BinarySensorDeviceClass.DOOR,
3  BinarySensorDeviceClass.GARAGE_DOOR,
4  BinarySensorDeviceClass.MOTION,
5  BinarySensorDeviceClass.OPENING,
6  BinarySensorDeviceClass.PRESENCE,
7  BinarySensorDeviceClass.WINDOW,
8 }

Definition at line 91 of file alexa_config.py.

◆ SUPPORTED_DOMAINS

dictionary homeassistant.components.cloud.alexa_config.SUPPORTED_DOMAINS
Initial value:
1 = {
2  "alarm_control_panel",
3  "alert",
4  "automation",
5  "button",
6  "camera",
7  "climate",
8  "cover",
9  "fan",
10  "group",
11  "humidifier",
12  "image_processing",
13  "input_boolean",
14  "input_button",
15  "input_number",
16  "light",
17  "lock",
18  "media_player",
19  "number",
20  "scene",
21  "script",
22  "switch",
23  "timer",
24  "vacuum",
25 }

Definition at line 65 of file alexa_config.py.

◆ SUPPORTED_SENSOR_DEVICE_CLASSES

dictionary homeassistant.components.cloud.alexa_config.SUPPORTED_SENSOR_DEVICE_CLASSES
Initial value:
1 = {
2  SensorDeviceClass.TEMPERATURE,
3 }

Definition at line 100 of file alexa_config.py.

◆ SYNC_DELAY

int homeassistant.components.cloud.alexa_config.SYNC_DELAY = 1

Definition at line 62 of file alexa_config.py.