phrz / lg-washer-dryer-card

Lovelace cards for use with the Home Assistant LG ThinQ Integration
MIT License
259 stars 52 forks source link

Pictures disappeared in Lovelace #31

Open tokaz opened 9 months ago

tokaz commented 9 months ago

Hi.

First of all thanks for this awesome work! I ran into a problem after updating HA. The connection is still there but it wont show the pictures in vertical stack. I've tried to restore the backup and then pictures show perfectly again. I loved this integration to my dashboard and now its a bit crumpled without the beautyness of the pictures and icons. Can you come up with any idea or maybe changed been made to the vertical stack card that created this problem? Like I said, connection is still there, showing all the data, but just not possible to see the picture of eg. hass-fl-washer-steel-card-bg or any of the icons anymore.

If you need further from me please write me. first time I'm creating an issue here.

lovelace picture missing

phrz commented 8 months ago

Hi tokaz,

Thanks for the detailed issue and apologies for my delay. First off, I don't think this has anything to do with you putting these cards inside of a stack or other container of cards. Try going to the following URL on your HA system (it may look different on your server, but here's how the URL looks on mine): https://homeassistant.local:8123/local/hass-washer-card-bg.png. If nothing loads, then your HA server is not making the required images available for this card to work. Follow step 1 of the instructions on the homepage of this repo to create the www folder again with the included images, and check if you are able to access them via that link.

tokaz commented 8 months ago

Hi Paul.

No worries. I'm looking into it and its pretty strange. I've several times removed everything relatedto this integration and started all over and it never worked for me. First I tried the URL with the pictures I use (hass-fl-washer-steel-card-bg.png or hass-fl-dryer-steel-card-bg.png), Couldn't find anything. The files are located just as the instruction tells and I didn't make any changes. Only updated the system and then it didn't work no more. If i loaded the backup from before all the updates it worked as it should. Then update and it disappeared once again.

But after you wrote I tried one more time on the newest update to delete everything and start over. That helped. How? I do not know, because I've copied the corrected code as backup from when it worked the first time and used that every time I started over so I didn't have to tweak to my settings all from the bottom. So the pictures occurred again but now the display_time was missing and it only showed the error triagle where the counter should be. But after some error searching and power off and on the server it finally everything working again.

Sorry to make an issue, must have been something in my system I just couldn't find.

Once again thanks for this card and the hard work you're pulling through! Much appreciated!

// tokaz