I've managed to display all my light entities like this:
type: custom:auto-entities
card:
type: entities
state_color: true
show_header_toggle: true
filter:
include:
- domain: light
options:
secondary_info: last-changed
exclude: []
Now, I'd like to group them by their Areas. How do I achieve that?
- I was thinking about some kind of auto-entities inception, but apparently Areas are not entities, so I can't list Area entities and then the connected light-domain entities?
- I don't want to create Area sections/cards manually –> it's a freakin automation software GDI. When an Area and a light in the Area is added, both: the new Area and the new lightbulb should appear automatically in the dashboard; not me having to remember to make a new Area card or sth.
- Somehow programmatically create a dashboard?
Forloops?