Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.device_automation.trigger.DeviceAutomationTriggerProtocol Class Reference
Inheritance diagram for homeassistant.components.device_automation.trigger.DeviceAutomationTriggerProtocol:
[legend]
Collaboration diagram for homeassistant.components.device_automation.trigger.DeviceAutomationTriggerProtocol:
[legend]

Public Member Functions

dict[str, vol.Schema] async_get_trigger_capabilities (self, HomeAssistant hass, ConfigType config)
 
- Public Member Functions inherited from homeassistant.helpers.trigger.TriggerProtocol
ConfigType async_validate_trigger_config (self, HomeAssistant hass, ConfigType config)
 

Detailed Description

Define the format of device_trigger modules.

Each module must define either TRIGGER_SCHEMA or async_validate_trigger_config
from TriggerProtocol.

Definition at line 28 of file trigger.py.

Member Function Documentation

◆ async_get_trigger_capabilities()

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

Definition at line 35 of file trigger.py.


The documentation for this class was generated from the following file: