Home Assistant Unofficial Reference 2024.12.1
device_trigger.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.homekit_controller.device_trigger.TriggerSource
 

Namespaces

 homeassistant.components.homekit_controller.device_trigger
 

Functions

CALLBACK_TYPE homeassistant.components.homekit_controller.device_trigger.async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
None homeassistant.components.homekit_controller.device_trigger.async_fire_triggers (HKDevice conn, dict[tuple[int, int], dict[str, Any]] events)
 
TriggerSource homeassistant.components.homekit_controller.device_trigger.async_get_or_create_trigger_source (HomeAssistant hass, str device_id)
 
list[dict[str, str]] homeassistant.components.homekit_controller.device_trigger.async_get_triggers (HomeAssistant hass, str device_id)
 
None homeassistant.components.homekit_controller.device_trigger.async_setup_triggers_for_entry (HomeAssistant hass, ConfigEntry config_entry)
 
list[dict[str, Any]] homeassistant.components.homekit_controller.device_trigger.enumerate_doorbell (Service service)
 
list[dict[str, Any]] homeassistant.components.homekit_controller.device_trigger.enumerate_stateless_switch (Service service)
 
list[dict[str, Any]] homeassistant.components.homekit_controller.device_trigger.enumerate_stateless_switch_group (Service service)
 

Variables

string homeassistant.components.homekit_controller.device_trigger.CONF_IID = "iid"
 
string homeassistant.components.homekit_controller.device_trigger.CONF_SUBTYPE = "subtype"
 
dictionary homeassistant.components.homekit_controller.device_trigger.HK_TO_HA_INPUT_EVENT_VALUES
 
dictionary homeassistant.components.homekit_controller.device_trigger.TRIGGER_FINDERS
 
 homeassistant.components.homekit_controller.device_trigger.TRIGGER_SCHEMA
 
dictionary homeassistant.components.homekit_controller.device_trigger.TRIGGER_SUBTYPES = {"single_press", "double_press", "long_press"}
 
dictionary homeassistant.components.homekit_controller.device_trigger.TRIGGER_TYPES