Open SLaks opened 6 months ago
yes pleeeeaaasssee!!!
Did anyone figure out a way to do this using the Jinja template filter workaround?
You could use floors()
and areas()
to get entites by that heirarchy:
{% for floor in floors() %}
Floor: {{floor}}
{% for area in floor_areas(floor) %}
Area: {{area}}
{% for entity in area_entities(area) %}
{{entity}}
{% endfor %}
{% endfor %}
{% endfor %}
You could adapt this to the filter/template structure, and you would have to output JSON for your card configuration similar to https://github.com/thomasloven/lovelace-auto-entities/issues/382#issuecomment-1824799660
Yes, I also need this function!!!
I'd love to have an auto-entities card that shows all entities in all areas belonging to a specific floor in HA 2024.4+