In the log below it appears that the wait event timed out twice. It has two events to wait for with a timeout. Does each event timeout separately? At first I thought I was getting a double trigger, but according to the log there was only one and it should have only been one. The trigger is a switch turning on, the bathroom Vent, and it only turned on once.
Here is the rule
I guess after watching these run awhile, it does seem to be the expected behavior. It generates two pending events, so I guess you would see two runs of all commands after a wait.
Seems like that could cause issues, depending on what is after the wait event. Something to keep in mind I guess.
I just tested this and got the same behavior as you if the "Wait" moved on because of the timeout. If one of the wait events fired, the rest of the actions worked as expected, only executing once.
This simple rule:

Causes the action(s) after the wait to run multiple times, apparently once for each event you have in the wait (two for you, three for me):

Again, however, if one of the "Wait" events actually happens, then the following action is executed only once. That is the behavior I'd expect, and I'd guess this oddity with timeouts is a bug. Tagging @bravenel since he'd know for sure.
2 Likes
Seems like a bug... Will look into it.
2 Likes