Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
| list[dict[str, Any]] | async_get_triggers (HomeAssistant hass, str device_id) |
| ConfigType | async_validate_trigger_config (HomeAssistant hass, ConfigType config) |
Provides device automations for Philips Hue events.
| CALLBACK_TYPE homeassistant.components.hue.device_trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Listen for state changes based on configuration.
Definition at line 55 of file device_trigger.py.
| list[dict[str, Any]] homeassistant.components.hue.device_trigger.async_get_triggers | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
Get device triggers for given (hass) device id.
Definition at line 84 of file device_trigger.py.
| ConfigType homeassistant.components.hue.device_trigger.async_validate_trigger_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate config.
Definition at line 32 of file device_trigger.py.