Home Assistant Unofficial Reference 2024.12.1
toggle_entity.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.device_automation.toggle_entity
 

Functions

list[dict[str, str]] homeassistant.components.device_automation.toggle_entity._async_get_automations (HomeAssistant hass, str device_id, list[dict[str, str]] automation_templates, str domain)
 
CALLBACK_TYPE homeassistant.components.device_automation.toggle_entity.async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
None homeassistant.components.device_automation.toggle_entity.async_call_action_from_config (HomeAssistant hass, ConfigType config, TemplateVarsType variables, Context|None context, str domain)
 
condition.ConditionCheckerType homeassistant.components.device_automation.toggle_entity.async_condition_from_config (HomeAssistant hass, ConfigType config)
 
list[dict[str, str]] homeassistant.components.device_automation.toggle_entity.async_get_actions (HomeAssistant hass, str device_id, str domain)
 
dict[str, vol.Schema] homeassistant.components.device_automation.toggle_entity.async_get_condition_capabilities (HomeAssistant hass, ConfigType config)
 
list[dict[str, str]] homeassistant.components.device_automation.toggle_entity.async_get_conditions (HomeAssistant hass, str device_id, str domain)
 
dict[str, vol.Schema] homeassistant.components.device_automation.toggle_entity.async_get_trigger_capabilities (HomeAssistant hass, ConfigType config)
 
list[dict[str, str]] homeassistant.components.device_automation.toggle_entity.async_get_triggers (HomeAssistant hass, str device_id, str domain)
 

Variables

 homeassistant.components.device_automation.toggle_entity._TOGGLE_TRIGGER_SCHEMA
 
 homeassistant.components.device_automation.toggle_entity.ACTION_SCHEMA
 
 homeassistant.components.device_automation.toggle_entity.CONDITION_SCHEMA
 
list homeassistant.components.device_automation.toggle_entity.DEVICE_ACTION_TYPES = [CONF_TOGGLE, CONF_TURN_OFF, CONF_TURN_ON]
 
list homeassistant.components.device_automation.toggle_entity.ENTITY_ACTIONS
 
list homeassistant.components.device_automation.toggle_entity.ENTITY_CONDITIONS
 
list homeassistant.components.device_automation.toggle_entity.ENTITY_TRIGGERS
 
 homeassistant.components.device_automation.toggle_entity.TRIGGER_SCHEMA = vol.Any(entity.TRIGGER_SCHEMA, _TOGGLE_TRIGGER_SCHEMA)