this post was submitted on 06 May 2025
13 points (93.3% liked)
homeassistant
14104 readers
33 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just to provide a different point of view:
My general strategy is to decentralize these simple condition-action things.
Where only one sensor controls only one action/state, the function should run on the device itself, not on HA. Either the sensor or the switch or both is "smart", and it is good that HA knows and shows the state, and you can switch it on/off there in the HA app, but it should not depend on HA. It should still work when HA is down.
In my case, Tasmota runs on all the light switches and a rule in Tasmota does the job.