I am moving my automation from one system to Hubitat.
I have a hot water circulation pump that comes on at 6:30 AM and goes off at 12:00 PM. This works correctly for the current system.
I have a simple rule for the same function that is:
When Time of Day is 6:30 AM ...
Turn on CircPump
Wait until Time of Day is 12:00 PM, then ...
Turn off CircPump
Rule and pending actions can run ...
Only when mode is Guest, Home
To test the function, I manually turn on the CircPump and modify the rule to turn the pump off at, for example, 1:15 PM (current time is 12:45 PM).
The pump does not switch off. What am I missing about the rule?
Have you tried changing the rule's start time and let the rule turn the pump on? And have your mode set correctly as well. I don't think the rule is active until that first "When Time of Day" trigger occurs and then the wait will be relevant.
Yes, that is definitely the way it works, and I imagine it is by design. The trigger must happen before any actions are executed. The "wait until" is considered to be an action.
From documentation:
I did finally figure that out, the trigger must fire first. My next test is:
Allow first trigger to fire.
,,,
manually turn off device
...
manually turn on device
...
WAIT - will remainder of rule, turn device off later, still work.