Is there a way to make automations multi-task?

I have a long automation that basically turns off all lights and turns down all heat at night when i press a button.

The total time for this automation to run can be around 50 sec.

It looks like HA send a command to do each item and waits for a response before sending the next command to turn off the next item. Obviously some of the tasks must take a while. My question is simple…

Is their a nice way to run an automation where the commands are sent without waiting for the reply?

https://www.home-assistant.io/docs/scripts/#parallelizing-actions

Also if you call a script using the script.turn_on action instead of directly it won’t wait for the script to complete. See: https://www.home-assistant.io/integrations/script/#waiting-for-script-to-complete

1 Like

Or… You could have two or more automations with the same trigger. One per floor, perhaps?

1 Like