Image as an Icon

I’ve been trying to get this working, searched around a lot but doesn’t seem to want to work for me.

I’ve uploaded .png’s to the www folder and referenced them as /local/image.png under the icon section of entities or whatever other style card. Only one that I’ve seen work is a picture entity however this is what I am attempting to achieve:


1 Like

You either have to change your configuration.yaml or better your customization.yaml.

      friendly_name: Toaster
      entity_picture: /local/toaster.jpg

Have a look here:

1 Like

Thanks for the reply,

I see, I saw that earlier however I didn’t read enough after seeing this on my entity:

This entity (‘sensor.sonarr_online’) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

So in my configuration.yaml I now have:

  - platform: command_line
    name: 'Sonarr Online'
    entity_picture: /local/sonarr.png
    icon: /local/sonarr.png

Perhaps I need to reboot or something as I don’t see the image?