How do you track guest with device_tracker

I am trying to complete some automatons. I want to check and see if anybody (Guests) and (Family) are home via device_tracker then if not create automation to turn off devices. How do I account for friends or whoever that are at my house?

The way I do it is if the alarm system is off then someone is home.