Home Assistant Unofficial Reference 2024.12.1
device_trigger.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.hue.v1.device_trigger
 

Functions

def homeassistant.components.hue.v1.device_trigger._get_hue_event_from_device_id (hass, device_id)
 
CALLBACK_TYPE homeassistant.components.hue.v1.device_trigger.async_attach_trigger (HueBridge bridge, DeviceEntry device_entry, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
list[dict[str, str]] homeassistant.components.hue.v1.device_trigger.async_get_triggers (HueBridge bridge, DeviceEntry device)
 
ConfigType homeassistant.components.hue.v1.device_trigger.async_validate_trigger_config (HueBridge bridge, DeviceEntry device_entry, ConfigType config)
 

Variables

string homeassistant.components.hue.v1.device_trigger.CONF_BUTTON_1 = "button_1"
 
string homeassistant.components.hue.v1.device_trigger.CONF_BUTTON_2 = "button_2"
 
string homeassistant.components.hue.v1.device_trigger.CONF_BUTTON_3 = "button_3"
 
string homeassistant.components.hue.v1.device_trigger.CONF_BUTTON_4 = "button_4"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DIM_DOWN = "dim_down"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DIM_UP = "dim_up"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DOUBLE_BUTTON_1 = "double_buttons_1_3"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DOUBLE_BUTTON_2 = "double_buttons_2_4"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DOUBLE_LONG_RELEASE = "remote_double_button_long_press"
 
string homeassistant.components.hue.v1.device_trigger.CONF_DOUBLE_SHORT_RELEASE = "remote_double_button_short_press"
 
string homeassistant.components.hue.v1.device_trigger.CONF_LONG_RELEASE = "remote_button_long_release"
 
string homeassistant.components.hue.v1.device_trigger.CONF_SHORT_PRESS = "remote_button_short_press"
 
string homeassistant.components.hue.v1.device_trigger.CONF_SHORT_RELEASE = "remote_button_short_release"
 
string homeassistant.components.hue.v1.device_trigger.CONF_TURN_OFF = "turn_off"
 
string homeassistant.components.hue.v1.device_trigger.CONF_TURN_ON = "turn_on"
 
dictionary homeassistant.components.hue.v1.device_trigger.HUE_BUTTON_REMOTE
 
string homeassistant.components.hue.v1.device_trigger.HUE_BUTTON_REMOTE_MODEL = "Hue Smart button"
 
dictionary homeassistant.components.hue.v1.device_trigger.HUE_DIMMER_REMOTE
 
string homeassistant.components.hue.v1.device_trigger.HUE_DIMMER_REMOTE_MODEL = "Hue dimmer switch"
 
dictionary homeassistant.components.hue.v1.device_trigger.HUE_FOHSWITCH_REMOTE
 
string homeassistant.components.hue.v1.device_trigger.HUE_FOHSWITCH_REMOTE_MODEL = "Friends of Hue Switch"
 
dictionary homeassistant.components.hue.v1.device_trigger.HUE_TAP_REMOTE
 
string homeassistant.components.hue.v1.device_trigger.HUE_TAP_REMOTE_MODEL = "Hue tap switch"
 
dictionary homeassistant.components.hue.v1.device_trigger.HUE_WALL_REMOTE
 
string homeassistant.components.hue.v1.device_trigger.HUE_WALL_REMOTE_MODEL = "Hue wall switch module"
 
 homeassistant.components.hue.v1.device_trigger.TRIGGER_SCHEMA