1) Give a description of the problem
I want a notification if Smart Home Monitor is “Disarmed” for a while
2) What is the expected behavior?
When SHM changes to Disarmed. After elapsed time (10 seconds in the example below), it should check if SHM is still disarmed and if not send a push notification reminder.
3) What is happening/not happening?
There is no way to add a wait statement inside the if block directly and there is not way to add if statement inside the with/do block. So I cannot ignore sending notification if the SHM was armed again before the elapsed time.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)