Validate device action schemas once (#48351)

This commit is contained in:
Erik Montnemery 2021-03-26 08:46:26 +01:00 committed by GitHub
parent 5b17aaf9d5
commit 4fbc3da196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 0 additions and 24 deletions

View file

@ -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":