@bravenel
I'm playing about with the WAIT command and have come up with a rule to make some announcements when we arrive home. It is in it's infancy so please don't be too critical of the rule itself I'm just trying to clarify if I have uncovered a possible bug.
The crux of the rule is if my virtual presence sensor switch turns on (trigger) then the actions will wait for my front door to close and then after a short period of time play a random announcement.
The first time it ran it made an announcement twice.
Looking at the logs it appears that the door opening and closing is causing the actions to start, not just the closing of the door.
Here is the rule.
Here are the Scheduled Jobs.
Here is the door opening and closing.
Hope this all makes sense and if you need some more info please let me know.
Just for clarification I'm running the latest platform version. 2.1.1.119.
I created a test rule similar to what @bobbles did because I am interested in something like this. I confirm that I too, got two messages. Appears once for when the door opened and once for when the door closed.
Same issue here. Started right after updating to .116 yesterday. I was a few back and had been waiting to update. I have a very similar triggered rule. My wait is tied to a motion sensor. The message played when it went active and again when it went inactive. It also continued to do so every time the sensor was tripped as opposed to the rule trigger which is presence based. I ended up rolling back and it works as expected.
Post 2 shows a very simple rule.
Basically what is happening is the WAIT for door to close should only be acted upon.
The rule is being acted upon for both door opening and closing.
2 other people have added to this thread and are reporting the same issue.
This log went on for about 30 minutes until I got home. My wife trips this sensor so often(needlessly) I had to put in a usb powered sensor. I just posted a sample.
Please look at the Event Subscriptions on the app status page. Same for @spalexander68 and @CAZ.
This will reveal the following critical information: While the wait is pending, what is the event subscription and is it correct. After the wait has been fulfilled, is that subscription gone. These two facts will reveal what I need to know about your case.
Is that what it was supposed to be waiting for? Were you using Wait for Event or Wait for Condition? What happened? Which state is this: waiting, or after wait is over?
Having same issue with this rule. It has worked fine for several weeks. Updated from 115 to 119 this morning. Now everytime I open the Utility Door the lights come on. My mode has been HOME since 5:30 this morning. The nighttime switch has been off since about 6 am. So it is not triggering on a mode change to home and it is ignoring the condtion.
This was the issue for me. I was able to replicate the issue. When using wait for event, it played the messaged both when the sensor went active and inactive and also played every time the sensor tripped. When using wait for condition it worked perfectly. Played the messaged when the sensor went active and that's it. It also did not repeat. Strange though it just seemed to start for me when I updated as I hadn't touched that rule. I am running 119.