Hi @RebelMagpie
I’m going to expand a bit.
In order to be able to compare the dates, they must be type numeric, which increases value with the elapsed time.
Therefore in a number the zeros to the left disappear.
That’s why you have to enter the dates in the order Year Month, Day, hours, minutes.
It works the same as if it were a comparison of temperature or other numerical value.
Routines are evaluated when a trigger condition is met.
A precondition is not a routine trigger condition. Only it is evaluated as false or true and it waits for the trigger condition to be met.
In the date routine as your screenshot, the event that will trigger the routine is emitted at 0h:00 and 0h:01 min too. At that moment the execution of the routine is evaluated and triggered.
The condition is marked as true and the routine does not fire again until it returns to false condition before, even if the event is received again.
This is valid for all conditions
The local time, offset sunrise and sunset events are emitted every minute, others events are emitted every 30 minutes or 1 hour or when refresh is executed
Intervals, which can now also be done with standard routines in a single condition, evaluate to true or false and trigger routine execution only when there is a state change from false to true. During the time that the state remains true, the execution of the routine is not triggered again. Unless the routine has another trigger condition, then its state is also evaluated to fire the routine.
Now there is a problem reported and not requested, I guess they have other priority problems, when a routine is made with one or several previous conditions combined with OR type trigger conditions, that these conditions are met.
In these cases, the entire routine behaves like a routine that is triggered when any condition, prior or not, is met.
To solve this until it is resolved, you can group all the OR conditions in a routine and activate a virtual switch to be able to make a routine with a previous condition and and another condition that works well.