Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
| list[dict[str, str]] | async_get_triggers (HomeAssistant hass, str device_id) |
Variables | |
| TRIGGER_SCHEMA | |
| dictionary | TRIGGER_TYPES = {TRIGGER_TYPE_TURN_ON} |
Provides device automations for control of device.
| CALLBACK_TYPE homeassistant.components.philips_js.device_trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Attach a trigger.
Definition at line 39 of file device_trigger.py.
| list[dict[str, str]] homeassistant.components.philips_js.device_trigger.async_get_triggers | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device triggers for device.
Definition at line 29 of file device_trigger.py.
| homeassistant.components.philips_js.device_trigger.TRIGGER_SCHEMA |
Definition at line 22 of file device_trigger.py.
| dictionary homeassistant.components.philips_js.device_trigger.TRIGGER_TYPES = {TRIGGER_TYPE_TURN_ON} |
Definition at line 21 of file device_trigger.py.