Trigger when noone is home

Just use state on the zone.

This is the yaml I use in an automation to track when the zone goes from “empty” to someone home:

platform: state
entity_id: zone.home
from: "0"
to: "1"