Functions | |
| None | _execute_cluster_handler_command_based_action (HomeAssistant hass, dict[str, Any] config, TemplateVarsType variables, Context|None context) |
| None | _execute_service_based_action (HomeAssistant hass, dict[str, Any] config, TemplateVarsType variables, Context|None context) |
| None | async_call_action_from_config (HomeAssistant hass, ConfigType config, TemplateVarsType variables, Context|None context) |
| dict[str, vol.Schema] | async_get_action_capabilities (HomeAssistant hass, ConfigType config) |
| list[dict[str, str]] | async_get_actions (HomeAssistant hass, str device_id) |
| ConfigType | async_validate_action_config (HomeAssistant hass, ConfigType config) |
Variables | |
| ACTION_SCHEMA | |
| dictionary | ACTION_SCHEMA_MAP |
| string | ACTION_SQUAWK = "squawk" |
| string | ACTION_WARN = "warn" |
| string | ATTR_DATA = "data" |
| string | ATTR_IEEE = "ieee" |
| dictionary | CLUSTER_HANDLER_MAPPINGS |
| string | CONF_ZHA_ACTION_TYPE = "zha_action_type" |
| DEFAULT_ACTION_SCHEMA | |
| dictionary | DEVICE_ACTION_SCHEMAS |
| dictionary | DEVICE_ACTION_TYPES |
| dictionary | DEVICE_ACTIONS |
| string | INOVELLI_ALL_LED_EFFECT = "issue_all_led_effect" |
| INOVELLI_ALL_LED_EFFECT_SCHEMA | |
| string | INOVELLI_INDIVIDUAL_LED_EFFECT = "issue_individual_led_effect" |
| INOVELLI_INDIVIDUAL_LED_EFFECT_SCHEMA | |
| dictionary | SERVICE_NAMES |
| string | ZHA_ACTION_TYPE_CLUSTER_HANDLER_COMMAND = "cluster_handler_command" |
| string | ZHA_ACTION_TYPE_SERVICE_CALL = "service_call" |
| dictionary | ZHA_ACTION_TYPES |
Provides device actions for ZHA devices.
|
private |
Definition at line 200 of file device_action.py.
|
private |
Definition at line 180 of file device_action.py.
| None homeassistant.components.zha.device_action.async_call_action_from_config | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TemplateVarsType | variables, | ||
| Context | None | context | ||
| ) |
Perform an action based on configuration.
Definition at line 127 of file device_action.py.
| dict[str, vol.Schema] homeassistant.components.zha.device_action.async_get_action_capabilities | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
List action capabilities.
Definition at line 171 of file device_action.py.
| list[dict[str, str]] homeassistant.components.zha.device_action.async_get_actions | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device actions.
Definition at line 147 of file device_action.py.
| ConfigType homeassistant.components.zha.device_action.async_validate_action_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate config.
Definition at line 139 of file device_action.py.
| homeassistant.components.zha.device_action.ACTION_SCHEMA |
Definition at line 72 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.ACTION_SCHEMA_MAP |
Definition at line 67 of file device_action.py.
| string homeassistant.components.zha.device_action.ACTION_SQUAWK = "squawk" |
Definition at line 31 of file device_action.py.
| string homeassistant.components.zha.device_action.ACTION_WARN = "warn" |
Definition at line 32 of file device_action.py.
| string homeassistant.components.zha.device_action.ATTR_DATA = "data" |
Definition at line 33 of file device_action.py.
| string homeassistant.components.zha.device_action.ATTR_IEEE = "ieee" |
Definition at line 34 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.CLUSTER_HANDLER_MAPPINGS |
Definition at line 121 of file device_action.py.
| string homeassistant.components.zha.device_action.CONF_ZHA_ACTION_TYPE = "zha_action_type" |
Definition at line 35 of file device_action.py.
| homeassistant.components.zha.device_action.DEFAULT_ACTION_SCHEMA |
Definition at line 41 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.DEVICE_ACTION_SCHEMAS |
Definition at line 96 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.DEVICE_ACTION_TYPES |
Definition at line 89 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.DEVICE_ACTIONS |
Definition at line 78 of file device_action.py.
| string homeassistant.components.zha.device_action.INOVELLI_ALL_LED_EFFECT = "issue_all_led_effect" |
Definition at line 38 of file device_action.py.
| homeassistant.components.zha.device_action.INOVELLI_ALL_LED_EFFECT_SCHEMA |
Definition at line 48 of file device_action.py.
| string homeassistant.components.zha.device_action.INOVELLI_INDIVIDUAL_LED_EFFECT = "issue_individual_led_effect" |
Definition at line 39 of file device_action.py.
| homeassistant.components.zha.device_action.INOVELLI_INDIVIDUAL_LED_EFFECT_SCHEMA |
Definition at line 59 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.SERVICE_NAMES |
Definition at line 116 of file device_action.py.
| string homeassistant.components.zha.device_action.ZHA_ACTION_TYPE_CLUSTER_HANDLER_COMMAND = "cluster_handler_command" |
Definition at line 37 of file device_action.py.
| string homeassistant.components.zha.device_action.ZHA_ACTION_TYPE_SERVICE_CALL = "service_call" |
Definition at line 36 of file device_action.py.
| dictionary homeassistant.components.zha.device_action.ZHA_ACTION_TYPES |
Definition at line 238 of file device_action.py.