it never work right so i pulled it into the rule machine to try and get it right
basically if garage door is up more that 5 minute set some lights red - works
wait for doors closed - turn off (work like ti figure out how to set group state lol)
dev:5212023-01-08 15:03:29.497infoGarage door small contact was closed app:4862023-01-08 15:04:54.083infoAction: Wait for event: Garage door small contact contact closed
My first impulse is to recommend you change the Trigger by adding a "and Stays... (5:00)" which serves better than the "Delay 5:00" in Actions, which you could then remove.
More to say but I cannot easily type on a phone sorry.
Clicking Update Rule and Done both save changes and initialize the rule. The only difference is Update Rule allows you to stay in the rule while Done exits the rule.
You've got it right! Now the rule won't trigger unless the garage door remains open for 5 minutes, and it won't execute if the door gets closed before 5 minutes.
No, there is no practical limit to the Wait for Event. However, in most cases I do add a Timeout to it in case the follow-up actions are something I eventually want done everyday, like turning off a fan.