Home Assistant Unofficial Reference 2024.12.1
device_trigger.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.kodi.device_trigger
 

Functions

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

Variables

 homeassistant.components.kodi.device_trigger.TRIGGER_SCHEMA
 
dictionary homeassistant.components.kodi.device_trigger.TRIGGER_TYPES = {"turn_on", "turn_off"}