Wrap shorthand template conditions during schema validation (#62485)
This commit is contained in:
parent
6d1c4a4f5f
commit
e48f567176
3 changed files with 17 additions and 17 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue