Run Rule Actions and Loops

You are welcome. You may want to look at my similar rule to reset the Litter Robot if the litter drawer has been open for 30 seconds.

I didnā€™t use WAIT or similar for your rule because your problem statement said you wanted not to enter (trigger) the rule unless the door had been opened more than a certain time ago and was now closed, but the Litter Robot rule is a variant where you stay in the rule while the drawer is open.