mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Correct validation of repeats in scripts and automations (#60318)
* Correct validation of repeats in scripts and automations * Improve validation test
This commit is contained in:
@@ -270,7 +270,7 @@ async def async_validate_action_config(
|
||||
)
|
||||
|
||||
elif action_type == cv.SCRIPT_ACTION_REPEAT:
|
||||
config[CONF_SEQUENCE] = await async_validate_actions_config(
|
||||
config[CONF_REPEAT][CONF_SEQUENCE] = await async_validate_actions_config(
|
||||
hass, config[CONF_REPEAT][CONF_SEQUENCE]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user