Away with a time Delay

How would I go about adding a time delay to this automation. Basically, arm the alarm when both people leave the zone, but I want a 5-10 minute delay before it does that.

Use two state triggers for each person changing from home for 5 minutes, and two matching conditions that each person is not home.

That should be easy as zone.home shows the number of people at home:

trigger:
  - platform: state
    entity_id:
      - zone.home
    to: "0"
    for:
      hours: 0
      minutes: 10
      seconds: 0
1 Like