WTH is there no any_person_home sensor that returns if any configured person.* is 'home'

Currently, to aggregate all the person.* states, it requires manually creating a group of every known person (and maintaining that as you add new people):

group:
  any_person_present:
    entities:
      - person.ron_burgundy
      - person.james_bond
      - person.indiana_jones
      - person.harry_potter
      - person.han_solo

There should be a single sensor that aggregates all the person.* entities into a single sensor that can be checked in automation so this kind of manual grouping is not required.

The group method is no longer necessary. Each zone’s state is the number of person entities in that zone, and each zone has an attribute persons which returns a list of those entities.

4 Likes