Using value templates directly in lovelace dashboard

Hi there,

I would like to use certain values from my sensors in my lovelace dashboard.
But I can’t seem to find the right way to add these {{ state_attr('sensor.node001_info', 'extraInfo_cam') }} for example in my button and other entities to display dynamic content.
I know you can make sensors out of them but adding them right away in my interface gives me a lot more flexibility.

Using it in a markdown card does work, so am I doing something wrong in the other kind of entities?

Thanks for the help!
Pieter

1 Like