- if:
- condition: or
conditions:
- not:
- condition: state
entity_id: person.jim
state: home
- not:
- condition: state
entity_id: person.rafi
state: home
- if:
- condition: or
conditions:
- not: null
- condition: state
entity_id: person.jim
state: home
- not: null
- condition: state
entity_id: person.rafi
state: home
mine:
- if:
- condition: or
conditions:
- not:
- condition: state
entity_id: person.jim
state: home
- not:
- condition: state
entity_id: person.rafi
state: home