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

Public Member Functions

ConfigType async_validate_action_config (self, HomeAssistant hass, ConfigType config)
 

Detailed Description

Define the format of device_action modules.

Each module must define either ACTION_SCHEMA or async_validate_action_config.

Definition at line 18 of file action.py.

Member Function Documentation

◆ async_validate_action_config()

ConfigType homeassistant.components.device_automation.action.DeviceAutomationActionProtocol.async_validate_action_config (   self,
HomeAssistant  hass,
ConfigType   config 
)
Validate config.

Definition at line 26 of file action.py.


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