Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info, *str platform_type="template") |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| TRIGGER_SCHEMA | |
Offer template automation rules.
| CALLBACK_TYPE homeassistant.components.template.trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info, | ||
| *str | platform_type = "template" |
||
| ) |
Listen for state changes based on configuration.
Definition at line 41 of file trigger.py.
|
private |
Definition at line 30 of file trigger.py.
| homeassistant.components.template.trigger.TRIGGER_SCHEMA |
Definition at line 32 of file trigger.py.