WTH Timers reseted for automation when I restart HA

There is another WTH about the delay feature resetting, but it’s essentially the same issue and the same workarounds apply: