this post was submitted on 18 May 2024
85 points (98.9% liked)
homeassistant
12051 readers
21 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Parallel stuff is also used for... Well, some sequences you want to run in parallel.
That was insightful
Could you give som examples of where it’s desirable ?
Let's say you have 2 scripts that do some stuff:
If you want those things to happen independently you must parallelize them.
So think about an automation that at a certain point you want to launch multiple scripts. I'd always parallelize, even if initially these scripts were "instantaneous", because you might change these and add more complexities in the future.