I have a simple rule that turns on an outside light whenever the door opens and leaves it on for 30 minutes. However, if in that 30 minute period should the door open again, the 30 minutes is supposed to reset. I thought it had been working correctly but the last couple of days I noticed it not resetting the 30 minute wait if the door opens.
The lights turned off at 7:55 pm as indicated in the Scheduled Jobs but it should not have until 8:13 pm as it would have been 30 minutes passed the last time the door had been opened....
Your rule is not set up correctly. You want "Cancel Delayed Actions" instead of "Exit Rule" (I also prefer to structure the time restriction separately but I think what you have should work). "Exit Rule" stops at the current action and doesn't execute any more future actions but doesn't unschedule anything you've already caused.
There are several examples of cancelation in the docs, which I recommend reading.
I have changed the rule as you said. However, if I Cancel Delayed Actions, it appears it is not setting the 30 minute delay to turn off the light.. I will give it 30 minutes to see if it turns off or not.
Also the docs link you reference, I get that I am not authorized to access the page.
That too! Or at least this is probably what you want: turning the lights off a certain amount of time after the door is closed, not a certain amount of time after it opens. (I was caught up on the other issue and didn't think about this aspect of the logic.)