[Feature]: Add repeated card based on wildcards
See original GitHub issueIs your feature request related to a problem?
My problem is that I add a lot of the same kind of card, e.g. lots of light cards, that require a lot of repetitive work.
Describe the solution you’d like
I want to be able to pick one card type, e.g. light or template, enter some wild card criterias to filter out entities (e.g. light.downstair_*
) and generate one card for each of the entities from the filter. I imagine the output would correspond to a table view, so number of columns should be configurable. Information about each entity must be available via a variable (so the selected card can be customizable based on each filtered entity).
Describe alternatives you’ve considered
Manually add cards for each entity or copy paste yaml code. Both solutions are cumbersome and error prone.
Additional context
An improvement would be to treat this card as a vertical stack, allowing multiple cards to be selected (with individual filters for each card) and allowing global sorting of all generated cards. This would make it possible to filter out things like all lights, switches and vacuums and display them “in order” without introducing potential empty spaces like would happen if multiple cards (of this type) are added.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
@fanuch Yes, sorry, I will close this issue. Seems to work pretty good with auto-entities 👍 Maybe something to add as an example.
Would be better to open it’s own issue rather than comment here to keep the conversation focused @mag1024.
@postlund can you close if your question has been answered?