I have a lot of light groups defined and would love to show an entity row for each light so you can control them individually if you want.
I have lovelace-gen
installed and had a try of this code, but it didn’t want to work - wondering if anyone knows of a card or a way to make this work?
- type: entities
entities:
{% for l in states.light[entity].attributes.entity_id %}
- {{ l }}
{% endfor %}
In the above example, entity is set to the name of a light group (this works in scripts and the dev tools template editor).
Within lovelace, it just shows “unknown error”.
thanks in advance