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) |
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.
| 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.