Validate device action schemas once (#48351)
This commit is contained in:
parent
5b17aaf9d5
commit
4fbc3da196
8 changed files with 0 additions and 24 deletions
|
@ -62,8 +62,6 @@ async def async_call_action_from_config(
|
|||
hass: HomeAssistant, config: dict, variables: dict, context: Context | None
|
||||
) -> None:
|
||||
"""Execute a device action."""
|
||||
config = ACTION_SCHEMA(config)
|
||||
|
||||
service_data = {ATTR_ENTITY_ID: config[CONF_ENTITY_ID]}
|
||||
|
||||
if config[CONF_TYPE] == "turn_on":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue