this post was submitted on 18 May 2024
85 points (98.9% liked)

homeassistant

12008 readers
45 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
 

This is surely common knowledge for some of you but I thought I'd share a story, as this just made me cringe

I never understood the point in the option to "run actions in parallel" I thought if I had a list of actions to complete, HA makes it through them almost instantly, and with the varying latency of each action they wouldn't complete at the same time anyways.

Then I tested my smoke alarm notification that I have had running for over a year.

It went-

If: list of smoke alarms detects smoke Then: Turn on the lamp next to my bed, then Send a notification to my phone.

I had made an error when setting up the lamp entity. (I made it full brightness on both scales, can only use one) this stopped the automation before the notification went out to my phone.

If it's important that the automation makes it to the end, run in parallel!

Talk about a false sense of security

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 56 points 5 months ago (1 children)

This is also why testing is important. Speaking of which, when was the last time you tested your backups?

[–] [email protected] 26 points 5 months ago (1 children)

OK daddd (or mommm) it probably is time for me to test my backups haha

[–] [email protected] 12 points 5 months ago

Good on ya kiddo. If you want we can go to the park and play some catch after dinner.