Hey guys, wondering if someone can clear something up for me. here is my configuration :
action:
service: script.turn_on
entity_id:
script.script1
script.script2
The scripts will run randomly mp3 files with media_player, the duration is variable.
so when i run the automation script at 19:30, i want it to start script1, wait until it finished, then start the second script and so one.
and execute the automation. only one of them start. (exemple : script1) that it.
and when i ran the automation (manually) the second time. only the other script (exemple : script2) who start.
Looking to confirm behavior or scripts in single mode for an automation.
Basically the opposite of the above, I have 3 scripts that I call directly from 3 sequential actions within an automaton. Does each script need to fully and successfully execute before the automation proceeds to the next action?
For example:
Script 1 - pass
Script 2 - error
Script 3 - will not run
Would running them in parallel prevent any issues? What happens if one of the 3 does fail, will the automation stop in this case as well? I want them all to run regardless of whether or not there is an error within one.