We have 5 phones being used as presence sensors. We currently have “everyone leaves” and “someone arrives” routines setup. Works great. However, we have a young teenager that walks home from school and is 1 of the 5 presence sensors. They usually get home about 30m before we do. They are supposed to come home, start on homework, and not go outdoors until an adult has arrived at home. They usually stay in their room anyway as most teenagers do so they would never know if a door was opened from a burglar.
So we are trying to find a way to setup a routine so that if the teenager is home (phone present) and the open/door sensor is triggered for any reason that we all get an alert however it only needs to be when the teenager is the only presence sensor at home. If there are others we don’t want it to trigger because that means one of us is home with them.
I tried to set a routine where if 4 of the 5 sensors were gone (everyone leaves), the mode was home, and the open/close sensor triggered that we would get a notification. However that doesn’t work because we were all home today and everytime we opened the door we all got the notifications.
Is there any good way to set this routine we are trying for or is this just too complicated without an additional device?