mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Fixing recursive call in cookbook (#5279)
Recursive calling is not allowed in home assistant. Splitting the script up was necessary.
This commit is contained in:
parent
8ec44c00dd
commit
692fd52678
@ -97,6 +97,14 @@ script:
|
||||
service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: switch.REL1
|
||||
- alias: loop_room1
|
||||
service: script.turn_on
|
||||
data:
|
||||
entity_id: script.flash_loop
|
||||
|
||||
flash_loop:
|
||||
alias: Flash loop
|
||||
sequence:
|
||||
- delay:
|
||||
# time for flash light off
|
||||
seconds: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user