this post was submitted on 30 Sep 2025
26 points (96.4% liked)

homeassistant

16412 readers
121 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
 

Currently, I have an automation that turns on my air conditioner for 37 minutes, every 3 hours. However, during that time, I cannot do anything like update, HAOS, etc. Because it breaks the timer, and then I have to manually shut it off.

you are viewing a single comment's thread
view the rest of the comments
[–] CompactFlax@discuss.tchncs.de 7 points 5 days ago* (last edited 5 days ago) (1 children)

Save stop time to a helper. Helper state persists through automation restarts, ha restarts, and OS restarts.

Check the helper every minute. Or, just run until the stop time is reached, and create an automation to check and restart the timer when HA restarts.

[–] KairuByte@lemmy.dbzer0.com 3 points 5 days ago

This is the way. It’s a little annoying, but much more reliable. If you set an actual date and time, you can also ensure an old timer kicks off if HA was down for more than the minute it needed to hit.