Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
Variables | |
| TRIGGER_SCHEMA | |
Offer sun based automation rules.
| CALLBACK_TYPE homeassistant.components.sun.trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Listen for events based on configuration.
Definition at line 28 of file trigger.py.
| homeassistant.components.sun.trigger.TRIGGER_SCHEMA |
Definition at line 19 of file trigger.py.