#Post Update Automations Not working

1 messages · Page 1 of 1 (latest)

timid perch
#

After performing Core or OS updates I have a timer-based automation that stops working.

Basically, I have my pool pump (smart outlet) set to "if on for two hours, turn off" and and other automation, "if off for two hours, turn on".

I'm assuming the updates break the timer...is there a better way to have this automation configured??

remote sedge
#

Depends on how you wrote it, but yes any restart resets a for

primal sonnet
#

You could use a history stats sensor with a duration of 2 hours ending now and set to ratio - if it's 1 it's been on for the last 2 hours, if it's 0 it's been off for the whole period.
This is the most robust way of doing this imo as it doesn't really on any internal timers