Closed chadbaldwin closed 1 year ago
Sorry...I'm just dumb. RTFM.
Literally the first line of the readme of this repo "Display whatever you want in an entities card row"
Womp womp. I was really hoping I'd be able to use this in other cards.
I was stunned for a moment when saw using a custom card inside history-graph )))) You may close the issue )
Maybe I'll fork this and see if there's a way to make it work for history-graph
...or even making it work for ANY card (I have no idea how the HA UI works). Would be nice to have the ability to use custom templates to set names for any card.
Until then...closing issue 😢
Literally the first line of the readme of this repo "Display whatever you want in an entities card row"
You have just restored a bit of my faith in humanity. Thank you.
See this if you don't get why...
I've gone through the docs for
auto-entities
,history-graph
andtemplate-entity-row
...but I can't seem to figure out where I've gone wrong.I'm trying to use
template-entity-row
to set a customname:
property within ahistory-graph
which is populated usingauto-entities
.I have plenty of other cards that combine
auto-entities
andtemplate-entity-row
to set custom names and they all work great. But for some reason, specific tohistory-graph
, it is not working."Not working" in this case means, the templates are being rendered literally. So if I set
name: "{{ 'abc' }}"
, then the resulting name is{{ 'abc' }}
literally.Here is an example script:
The result is this:
I don't see any issues with my configuration, so my best guess is that this is either a bug, or
history-graph
is just not supported bytemplate-entity-row
.