How to do wait for time OR contact closed

In the following rule, I would like to have wait for time OR contact closed (in the unlikely event my wife actually closes the door), how would I do that? I think I’m over thinking it with a required expression.

Use this action instead of the delay:

Wait for event: Pantry door contact closed --> timeout 0:02:30

This will proceed when either the event (contact sensor closed) happens or the timeout time expires, whichever happens first.

5 Likes

Thanks! That was exactly it. I was definitely overthinking it.