At Home / Away Detection to trigger push message
I'm trying to create a rule that will detect if someone is at Home or away and then set a virtual switch accordingly. This is so I can send me a push notification reminding me to arm my security system if I'm away. As of now I'm still debugging it as it doesn't appear to be working (virtual switch does not change state). Can someone see any problem in my rule? I have created two groups of sensors, Doors and Motion sensors which I'm using to set or reset the switch.
Thanks for the help.