Having many such devices, I’m looking for a way to automatically have a card for each of all the relevant sensors. I’ve tried the templating approach as following (in the dashboard configuration):
Thanks, that sort of did the job. I understand now how this custom card can be used to produce multiple shown data point for the filtered entities. This produces good looking results for cases where card with “type: entities” is wanted, but in my specific case all those gauge cards can only be within one card (“custom:layout-card”) and it doesn’t look good compared to other cards within the same dashboard.
I do miss a more generic ability to generate several cards which are not bound together. If only this can be done using some kind of template (or even more, to be able to use the template engine for the entire board generation)
I believe it would be very expensive to use full templating in the front-end. There are custom template cards/rows as well. But i’d use them sparingly and they don’t produce seperate cards.
The solution doesn’t have to be expensive if it will not be in the front-end. As a idea:
Let HomeAssistant allow templating while creating a new dashboard (e.g. one-time evaluation of the templates) so this would produce the regular (“static”) dashboard code and user can proceed editing it from there.