Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.knx.device_trigger Namespace Reference

Functions

CALLBACK_TYPE async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
dict[str, vol.Schema] async_get_trigger_capabilities (HomeAssistant hass, ConfigType config)
 
list[dict[str, Any]] async_get_triggers (HomeAssistant hass, str device_id)
 

Variables

 Final
 

Detailed Description

Provides device triggers for KNX.

Function Documentation

◆ async_attach_trigger()

CALLBACK_TYPE homeassistant.components.knx.device_trigger.async_attach_trigger ( HomeAssistant  hass,
ConfigType  config,
TriggerActionType  action,
TriggerInfo  trigger_info 
)
Attach a trigger.

Definition at line 105 of file device_trigger.py.

◆ async_get_trigger_capabilities()

dict[str, vol.Schema] homeassistant.components.knx.device_trigger.async_get_trigger_capabilities ( HomeAssistant  hass,
ConfigType   config 
)
List trigger capabilities.

Definition at line 65 of file device_trigger.py.

◆ async_get_triggers()

list[dict[str, Any]] homeassistant.components.knx.device_trigger.async_get_triggers ( HomeAssistant  hass,
str   device_id 
)
List device triggers for KNX devices.

Definition at line 43 of file device_trigger.py.

Variable Documentation

◆ Final

homeassistant.components.knx.device_trigger.Final

Definition at line 33 of file device_trigger.py.