I agree, but it gets more complicated. Let me explain. We’re four of us with presence indicators and when ALL of us leave, a lot of things happen, including arming our Digital Life alarm. When someone comes back home, again, a lot of things happen. The “goodbye” rule would only happen if all of us left. I’d have to setup individual rules for each of us to set the boolean for an arrival rule - again - for each of us. So I’d have to have 4 individual goodbye rules, 4 individual arrival rules, and one global goodbye rule to rule them all. It’s a logistics nightmare to maintain these rules (say you want to change what happens when someone comes home). It can all be fixed with a little code in the trigger itself, using the myDevice.eventsSince(new Date() - x/1440) where x is the number of minutes and then parse through the list to check for any state change. That would help tremendously, I’ll probably fork your Rule app and do some work over the weekend, then you could probably embed it into your app if you find it useful. What do you think?
Thanks,
Adrian