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) |
Variables | |
| string | CONF_BUTTON_1 = "button_1" |
| string | CONF_BUTTON_2 = "button_2" |
| string | CONF_BUTTON_3 = "button_3" |
| string | CONF_BUTTON_4 = "button_4" |
| string | CONF_LONG_PRESS = "long_press" |
| string | CONF_SHORT_PRESS = "short_press" |
| dictionary | FLEX_FOB_2_BUTTONS |
| dictionary | FLEX_FOB_4_BUTTONS |
| TRIGGER_SCHEMA | |
Provides device triggers for YoLink.
| CALLBACK_TYPE homeassistant.components.yolink.device_trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Listen for state changes based on configuration.
Definition at line 86 of file device_trigger.py.
| list[dict[str, Any]] homeassistant.components.yolink.device_trigger.async_get_triggers | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device triggers for YoLink devices.
Definition at line 65 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_BUTTON_1 = "button_1" |
Definition at line 26 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_BUTTON_2 = "button_2" |
Definition at line 27 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_BUTTON_3 = "button_3" |
Definition at line 28 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_BUTTON_4 = "button_4" |
Definition at line 29 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_LONG_PRESS = "long_press" |
Definition at line 31 of file device_trigger.py.
| string homeassistant.components.yolink.device_trigger.CONF_SHORT_PRESS = "short_press" |
Definition at line 30 of file device_trigger.py.
| dictionary homeassistant.components.yolink.device_trigger.FLEX_FOB_2_BUTTONS |
Definition at line 44 of file device_trigger.py.
| dictionary homeassistant.components.yolink.device_trigger.FLEX_FOB_4_BUTTONS |
Definition at line 33 of file device_trigger.py.
| homeassistant.components.yolink.device_trigger.TRIGGER_SCHEMA |
Definition at line 51 of file device_trigger.py.