Closed MagnusErler closed 10 months ago
Templates are not supported in the card options, I believe. And I also don't think they should be, because templates don't seem to be supported usually in Lovelace cards. (see e.g. https://community.home-assistant.io/t/templating-in-lovelace-card/379397/2)
Maybe there is a way using card-mod? (See https://github.com/thomasloven/lovelace-card-mod#templates)
@MagnusErler
Closing the issue.
I want to use the value of an attribute in the title (name) of the card.
My code
The above code gives me just the written code and not the value.
Is it possible to have the sensor/attribute-value in the field "name"?