Group.all_people based on person component

Just like in other components, it should exist an autogenerated group for the person component, to make it easier to track of anybody is home.

I have to assume this is coming down the pipe. I hope, at least.

I’m curious if there is another way to highlight this feature request since it should be straight a forward solution.

I’d be interested in this feature as well. In the meantime, I’ve set up a binary sensor that does the same job for my purposes. Just replace “sensor.solar_elevation” with another entity that updates regularly in your instance - in my instance, I’ve got that one set up to update every 15 seconds or so, which is fast enough for my purposes.

binary_sensor:
      anybody_home:
        friendly_name: 'Anybody Home'
        device_class: presence
        entity_id:
          - sensor.solar_elevation
        value_template: >
          {% set ns = namespace(found=false) %}
          {% for state in states.person %}
            {% if state.state == 'home' %}
              {% set ns.found = true %}
            {% endif %}
          {% endfor %}
          {{ns.found}}
2 Likes

Would be nice if this could be integrated as a group helper in the UI, instead of using yaml.