this post was submitted on 30 Sep 2025
26 points (96.4% liked)
homeassistant
16412 readers
96 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.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
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
i would probably do it with two+ automations. Something like:
ON
automation:time pattern
- beginning of every 3 hoursOFF
automation:Manual Event
timer.finished
(case sensitive!)entity_id: timer.[timer_helper_entity]
STARTUP_CHECK
automation:state
- timer helper isidle
Note 1: make sure the timer helper has
restore state and time when HA starts
enablednote 2:
automations using the timer.finished event will not trigger on startup if the timer expires when Home Assistant is not running.
note 2a: the third automation is for your edge case that you reboot/shutdown HA when the
OFF
automation was supposed to fire. it should ensure the AC turns off after the timer was supposed to be finished and HA is started. this automation does not account for if the AC is turned on manually and you restart HA.i can get you the .YAML or pictures when I'm at a computer.
@shortwavesurfer@lemmy.zip you may also want an additional automation to start your ac at a particular time and reset the timer if you are concerned about drift in your AC schedule. I could see, for example, ensuring that it's running before you go to bed so it's cool for example.
Definitely multiple automations is the answer, this is almost exactly how I manage my hydroponic tower, except that I don't worry about the timer and I give it a manual run if I reboot (or don't. the plants can go a few hours without running the pump).