I have a rule that uses the every trigger. The number used for every is a calculated variable.
Offcourse, this every is infinite. Is it somehow possible to reset this at midnight ?

This is my rule : IF $PumpHours < $PumpHoursToDo and every (24 / $PumpHoursToDo) hours
If $PumpHoursToDo is 4, the every will be 6.
I reset some values at midnight, and would like (somehow) to reset the every as well.
Yesterday the last time the rule kicked in was at 20:00 , so for this day it kicked in at 01:00 , when the every would be reset it should have kicked in at 06:00

Any ideas on how to reset this timer ?