This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/jrhenk on 2023-07-04 23:36:23+00:00.


I’m in the process of upgrading my pi4 to raspios 64bit on a new SD card and need to do this in multiple runs, poor little thing has to do a lot :) and I’m not yet at the home automation part. Today I was busy with it during “sunset” and after I rebooted with the old sd card and everything was up and running again none of the sunset triggered automations had run - makes sense but for some reason I was thinking ha knows it was offline and might check whether it missed something on next startup.

Since this is not the case, I was wondering how to do two specific things manually.

  • For sunset triggers: Is there any way to fake the sunset trigger if sunset happened while HA was offline?

  • For countdown timers: Let’s say I’ve a 3 hour timer and the device went offline when it already counted down to 1.5 hours. Does HA just continue from 1.5h or does it “know” that the 3 hours are over after reboot?

Some thoughts/info on this or any additional ideas are highly appreciated! Hope this won’t become a regular thing, but would be nice to prepare HA for situations like this anyway.