Cannot get Picture Glance card to work with state_image(s)


I’m trying to get a picture glance card to display an image based on the value of a template sensor (sensor.watertank_card).

I cannot figure out what I am missing / doing wrong. Lovelace displays the following:


Please help!!


I’m not 100% sure, but probably you should look at the example at the very bottom of which suggest that you need to specify a single entity to be used for the state_image section.

type: picture-glance
title: Water Tank
  '10': /local/10.png
entity: sensor.watertank_card
1 Like

Thank you Patman

You were spot-on.

Working 100% now.

Please mark Patrick’s post as the solution.