Condition to check if person has been at zone location longer than

Hi.

Im trying to create automation when one comes home that behaves differently whether there is someone at home already or not(or we are arriving together).

Im hoping to have condition if any of us has been at home for time longer than 10 minutes example.

condition: or
conditions:
  - condition: zone
    entity_id: person.aki
    zone: zone.home
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - condition: zone
    entity_id: person.janina
    zone: zone.home
    for:
      hours: 0
      minutes: 10
      seconds: 0

But I get error extra keys not allowed @ data[‘sequence’][0][‘if’][0][‘conditions’][0][‘for’]

Any ideas are welcome.

Zone conditions do not accept a for: key. Use a State condition instead.

condition:
  - condition: state
    entity_id: 
      - person.aki
      - person.janina
    state: home
    for:
      hours: 0
      minutes: 10
      seconds: 0