1
0
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:
Erik Montnemery
2021-11-26 14:12:59 +01:00
committed by GitHub
parent ad9c3a47cf
commit ea102f71a6
2 changed files with 43 additions and 12 deletions

View File

@@ -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]
)