I use a variation on this excellent work here to have a compound definition of house presence with exceptionally high accuracy (each family member’s phone status, various motion sensor status, security camera status, door status, tv status, sonos speaker status, google home status all contribute).
Here’s the workup I made for OH3 for it: