mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Wrap shorthand template conditions during schema validation (#62485)
This commit is contained in:
@@ -262,7 +262,7 @@ async def async_validate_action_config(
|
||||
config = platform.ACTION_SCHEMA(config) # type: ignore
|
||||
|
||||
elif action_type == cv.SCRIPT_ACTION_CHECK_CONDITION:
|
||||
config = await condition.async_validate_condition_config(hass, config) # type: ignore
|
||||
config = await condition.async_validate_condition_config(hass, config)
|
||||
|
||||
elif action_type == cv.SCRIPT_ACTION_WAIT_FOR_TRIGGER:
|
||||
config[CONF_WAIT_FOR_TRIGGER] = await async_validate_trigger_config(
|
||||
|
||||
Reference in New Issue
Block a user