thomasloven / lovelace-template-entity-row

🔹 Display whatever you want in an entities card row.
MIT License
210 stars 16 forks source link

Templating card image fails #111

Closed oywino closed 4 months ago

oywino commented 1 year ago
type: entities
entities:
  - type: custom:template-entity-row
    entity: sensor.billigste_stasjon
    image: {{ state_attrib(sensor.billigste_stasjon, 'pictureurl') }}

title: Drivstoffpriser

If I type the pictureurl manually, it works just fine:

image

I have tried all possible combinations of single and double quates without any luck. Is it possible to customize the card image using template-entity-row at all??

ildar170975 commented 1 year ago

Code is wrong. Answered here - https://community.home-assistant.io/t/template-entity-row-put-templates-in-an-entities-row/160167/99?u=ildar_gabdullin