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.

  • CompactFlax@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    21 days ago

    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 restart the timer when HA restarts.

    • KairuByte@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 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.