Home Assistant Unofficial Reference 2024.12.1
device_trigger.py File Reference

Go to the source code of this file.

Namespaces

 

Functions

CALLBACK_TYPE homeassistant.components.yolink.device_trigger.async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
list[dict[str, Any]] homeassistant.components.yolink.device_trigger.async_get_triggers (HomeAssistant hass, str device_id)
 

Variables

string homeassistant.components.yolink.device_trigger.CONF_BUTTON_1 = "button_1"
 
string homeassistant.components.yolink.device_trigger.CONF_BUTTON_2 = "button_2"
 
string homeassistant.components.yolink.device_trigger.CONF_BUTTON_3 = "button_3"
 
string homeassistant.components.yolink.device_trigger.CONF_BUTTON_4 = "button_4"
 
string homeassistant.components.yolink.device_trigger.CONF_LONG_PRESS = "long_press"
 
string homeassistant.components.yolink.device_trigger.CONF_SHORT_PRESS = "short_press"
 
dictionary homeassistant.components.yolink.device_trigger.FLEX_FOB_2_BUTTONS
 
dictionary homeassistant.components.yolink.device_trigger.FLEX_FOB_4_BUTTONS
 
 homeassistant.components.yolink.device_trigger.TRIGGER_SCHEMA