benct / lovelace-xiaomi-vacuum-card

Simple card for various robot vacuums in Home Assistant's Lovelace UI
MIT License
264 stars 37 forks source link

No image #76

Closed jscherry closed 3 years ago

jscherry commented 3 years ago

Is it still possible to show the image in the background? I had this working for quite some time then the image quit working months ago.

dckiller51 commented 3 years ago

Hi,

No problem with image.

Exemple

image: /local/images/vacuum.png

Upload vacuum.png in folder config/www/images/

tomaszduda23 commented 3 years ago

The image stopped working after update of home assistant. I changed path to the image and it works again.

      - type: custom:xiaomi-vacuum-card
        entity: vacuum.roborock_vacuum_s5
        image: /local/custom_lovelace/xiaomi_vacuum_card/img/vacuum.png

The image is at config/www/custom_lovelace/xiaomi_vacuum_card/img/vacuum.png

Skylinar commented 2 years ago

for me it was image: /local/community/lovelace-xiaomi-vacuum-card/vacuum.png

and it is placed locally here: /config/www/community/lovelace-xiaomi-vacuum-card/vacuum.png

shadsnz commented 2 years ago

Thanks Skylinar! That fixed the same issue for me.