Automation Trigger: list of devices

Could you share the working config?

1 Like

getting back to this, I figure this would have to be it then:

          {% if states('group.battery_sensors_low') is not none %}
          {% set entities = expand('group.battery_sensors_low') %}
          {{ entities|count}} batteries are low:
          {{entities
            |map(attribute='name') 
            |join(', ')}}
          {% else %} All fine
          {% endif %}

Yeah that would be nice! I’m also curious.

1 Like

A few years in the future from the start of this post but I was looking to use this and when setting up @123 solution studio code server says “property entity_id is not allowed” for the package sensor. Could someone possibly help me get his solution functioning. Thank you all!!

solved with information from the page below