RM 4.0 - Cancel delayed action firing, but delayed actions still fire as well

I have a rule that is intended to set Away mode if no motion is detected on a particular sensor (Living Room Lights -- it's a GE Dimmer w/Motion) in 18 hours. I can see in the logs that every time there is motion it properly executes the Cancel Delayed Actions action, but about 18 hours after I set the rule loose, it started incessantly firing the delayed action (Setting mode to Away). Seemingly once for every time it had hit the Set Mode to Away (delayed 18:00) action. Can someone tell me what I'm missing?

I've not used cancel before but from what I've read you must specifically state an action is cancelable.

See this thread https://community.hubitat.com/t/help-me-understand-cancelable/26340/3

2 Likes

Dude! Thank you! I knew this and had set that in a previous iteration but totally glazed over this time around. Thanks for the extra eyes!

1 Like

@josh208 You might try this. The delay needs a cancel and an endif at the end.

IF cabin Living Room Lights inactive AND
NOT mode is Away THEN
Mode:Away---- delayed 18 hrs (Cancellable)
Else
Cancel Delayed Actions
endif

3 Likes

This was confusing to me as well. The option "Cancel?" would be better renamed "make delayed action cancelable?" or something similar.