Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons are missing in Mushroom card with Home Assistant 2024.2 #1368

Closed
3 tasks done
whyyouhateme opened this issue Feb 8, 2024 · 12 comments
Closed
3 tasks done

Icons are missing in Mushroom card with Home Assistant 2024.2 #1368

whyyouhateme opened this issue Feb 8, 2024 · 12 comments
Labels
important Important

Comments

@whyyouhateme
Copy link

whyyouhateme commented Feb 8, 2024

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

Missing icons on almost all cards after upgrading to 2024.2.0. I installed the latest Mushroom update, it didn't help. Some cards help to assign the icon manually, but when reset to default again disappears.

UPDATE
Icons do not work only when connected directly. They appear when connecting through a domain with SSL certificate.
I cleaned cookies and cache for direct connection, it didn't help.

Expected Behavior

No response

Steps To Reproduce

No response

Context

YAML state

Environment

- Browser:Chrome
- HA Version: 2024.2.0
- Mushroom: 3.4.2

Anything else?

No response

@whyyouhateme whyyouhateme added the bug Something isn't working label Feb 8, 2024
@RubenKremer
Copy link

Same issue. But for me the it also occurs with a valid SSL certificate. Must be related the the fact that they changed the way icons are handled in HASS 2024.2 (ref. Home Assistant 2024.2 Release Notes / Blog )

@orangelizard
Copy link

Sadly another here.

@piitaya
Copy link
Owner

piitaya commented Feb 8, 2024

It's a cache issue. Mushroom has been updated to support the new home assistant logic with 3.4.0 release.
Follow this guide to make sure your cache is refreshed : https://github.com/piitaya/lovelace-mushroom?tab=readme-ov-file#i-dont-see-the-last-changes. You can also clear the cache of your app (iOS or Android).
Also, you are using Cloudflare to access to your instance, you can have additional cache to clear on Cloudflare.

@piitaya piitaya changed the title [Bug]: Icon problem Icons are missing in Mushroom card Feb 8, 2024
@piitaya piitaya pinned this issue Feb 8, 2024
@piitaya piitaya added important Important and removed bug Something isn't working labels Feb 8, 2024
@piitaya piitaya changed the title Icons are missing in Mushroom card Icons are missing in Mushroom card with Home Assistant 2024.0 Feb 8, 2024
@piitaya piitaya changed the title Icons are missing in Mushroom card with Home Assistant 2024.0 Icons are missing in Mushroom card with Home Assistant 2024.2 Feb 8, 2024
@orywig
Copy link

orywig commented Feb 8, 2024

Same issue here - will try the above fix. Thanks!

image

@chrjsorg
Copy link

chrjsorg commented Feb 9, 2024

Web worked right away, the Android app was missing some icons. What helped me: Force close the entire app (in app info, not just app switcher), restart HomeAssistant in the meantime, start app again, everything is back :)

@piitaya piitaya closed this as completed Feb 9, 2024
@lxe
Copy link

lxe commented Feb 9, 2024

I'm seeing this as well even after restarting HA.

Had to do a full reload outlined in these steps

@user34756361233
Copy link

My icons returned after deinstalling and installing Mushroomcards. Clearing cache had no result on Mac/IOS/Nest Hub.

@Turton
Copy link

Turton commented Feb 16, 2024

A simple HACS 'Redownload' of Mushroom from my Android device, resolved the issue for me.

@jolamouch
Copy link

A simple HACS 'Redownload' of Mushroom from my Android device, resolved the issue for me.

It's OK for me to Redownload. Thanks

@lukx
Copy link

lukx commented Mar 5, 2024

Hi,
Redownload did not work for me, neither did the remove/uninstall/reinstall-Steps that are outlined in the Manual. Clearing browser Cache apparently did not work either, although I fail to understand why.

However. what worked for me is

  • open https:///hacsfiles/lovelace-mushroom/mushroom.js
  • refresh hitting Ctrl+Shift+R so that my browser gets the newest version
    Then everything worked.

@rubin110
Copy link

rubin110 commented Mar 7, 2024

So I think I'm hitting this issue too, and have been for the last month or so. Approximately one out of ten reloads will cause some (not all) svg icons do not display from various Mushroom cards. I think which icons are consistent. I've tried the following without seeing any changes to this issue I'm hitting:

  • Removed and reinstall Mushroom through HACS
  • Removed a slew of other HACS
  • Forced a refresh of mushroom.js
  • Cleared cache in Chrome, ctrl-shift-r and by opening up the debugger and right clicking on the reload button
  • Started a fresh Chrome session with no prior cache /usr/bin/google-chrome --user-data-dir=/tmp/google-chrome-$(date +'%s')
  • Used Chrome Beta
  • Used Chromium
  • Used Firefox
  • Cleared all data to the Android app

After all of these I still see icons missing after a few reloads. There is absolutely nothing in the debugger

Firefox 123.0:
image

Chrome Stable 122.0.6261.94 fresh user profile:
image

Edit:

After some more mucking around, I believe the source of my issue is most likely lovelace-mushroom-better-sliders. Removing this from resources I haven't been able to repro the issue.

@Scheus
Copy link

Scheus commented Mar 8, 2024

FYI, for me the problem also seemed to be the HACS Mushroom (--Better-Sliders). I tried for a long time to solve the problem with this addon enabled but since I removed this addon I haven't been able to reproduce the problem.

@piitaya piitaya unpinned this issue Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important Important
Projects
None yet
Development

No branches or pull requests