failmatic:
The private boolean required is needed if you set up more than 1 notification action. Without the private boolean, whenever the power monitor reports wattage, which is frequent when the washer is running, it triggers the first notification action.
what I am trying to do now is to get the 2nd noti
its not required thats the point.. the rule re-fires and any waiting event is cancelled.. so the rule never progresses to notifiying you that the washer is done.
but your are right that only works if you just have one notification.. ie washer is done..
see here
Wait for Event
There is a new action available in the 2.1.0 release of Rule Machine: Wait for Event. What this action allows is the selection of an event to pause action execution, waiting for that event to occur. When the event occurs, execution of the actions resumes. A pending Wait for Event is automatically cancelled upon rule truth change, being triggered or being stopped.
The available choices for the event include most of those available for a Trigger Event. Not allowed are Periodic,…