Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
Variables | |
| string | EVENT_SHUTDOWN = "shutdown" |
| string | EVENT_START = "start" |
| TRIGGER_SCHEMA | |
Offer Home Assistant core automation rules.
| CALLBACK_TYPE homeassistant.components.homeassistant.triggers.homeassistant.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Listen for events based on configuration.
Definition at line 24 of file homeassistant.py.
| string homeassistant.components.homeassistant.triggers.homeassistant.EVENT_SHUTDOWN = "shutdown" |
Definition at line 14 of file homeassistant.py.
| string homeassistant.components.homeassistant.triggers.homeassistant.EVENT_START = "start" |
Definition at line 13 of file homeassistant.py.
| homeassistant.components.homeassistant.triggers.homeassistant.TRIGGER_SCHEMA |
Definition at line 16 of file homeassistant.py.