Ok, I’m a bit confused…I have some covers (without open %) which I scripted to create some sort of scenes.
Let’s say I want a morning scene which opens my cover1 for 3 seconds (then stops) and cover2 for 10 seconds (then stops).
I created multiple scripts for temporization using the delay function, and everything worked fine for years…Now, I updated to latest version of HA and the scene is not working correctly anymore.
The problem is that before updating, scripts were executed simultaneously, now, every script waits the end before running another script (practically, each cover waits for the previous one to finish opening, before opening itself).
Here’s a part of my code:
Script Cover 1 open for 3 seconds:
s_cover1_open_3s:
sequence:
- service: shell_command.sh_cover_1_open
- delay: '00:00:03'
- service: shell_command.sh_cover_1_stop
Script Cover 2 opens for 10 seconds
s_cover2_open_10s:
sequence:
- service: shell_command.sh_cover_2_open
- delay: '00:00:10'
- service: shell_command.sh_cover_2_stop
Morning scene script
s_morning_scene:
mode: parallel
sequence:
- service: s_cover1_open_3s
- service: s_cover2_open_10s
Can anyone help me to prevent the delay function to temporarily stop my scene script execution?
P.S. mode: parallel is totally not influent