beecho01/material-symbols

Icones won't load properly

Opened this issue · 12 comments

Describe the bug
Icones won't load properly, even with navigator cache cleared and the ressource module added: /hacsfiles/material-symbols/material-symbols.js
Same issue on companion app.

To Reproduce
1)Refresh web page
2)Icones not showing
3)Edit dashboard
4)Icones showing
5)End edition
6)Icones showing
7)Refresh web page
8)Icones not showing

Solution
I've seen crawmartino telling the same issue : Material Symbols for Home Assistant - A Material Design 3 based icon pack
He is using UI Controlled dashboard too.

xvlw commented

Also experiencing this while doing the steps you mention above. I've also tried restarting HA multiple times and it randomly will load or not load after a full HA restart as well.

Clearing browser cache doesn't help either.

would love to know the cause of this issue – it happens all the time, randomly. Any one know what could be causing it?

I've found that loading another dashboard briefly then navigating back to the main dashboard brings the icons back. Could be a clue?

Or perhaps is just a cache issue – but does seem like something else is going on under the hood?

xvlw commented

Or perhaps is just a cache issue – but does seem like something else is going on under the hood?

This also works; if you edit dashboard then press "done" it sometimes fixes it.

If that doesn't fix it, going edit dashboard, go to edit a card (don't have to make any changes), then cancel out of the edit card and press "done" again on the edit dashboard brings them back for awhile until they disappear again on another load

curious if any of you are experiencing this issue: home-assistant/frontend#17820 (comment)

Feel like this icon issue arrived at a similar time to 'no back'.

If you are experiencing the same issue, let them know on that thread.

edit: OR if any of you are using bubble cards hacs integration on your dashboards?

xvlw commented

curious if any of you are experiencing this issue: home-assistant/frontend#17820 (comment)

Feel like this icon issue arrived at a similar time to 'no back'.

If you are experiencing the same issue, let them know on that thread.

edit: OR if any of you are using bubble cards hacs integration on your dashboards?

I think I have bubble card installed but it's not part of my dashboard.

Hi @Jejebond, @mousemat86, @xvlw,

I have done a major update to this and migrated from Lovelace/Dashboard repository, to an Integration repository.
If you wouldn't mind, please follow the steps in Migrating from v1.X.X to 202X.X.X and then attempt install via HACS Method 2.

Hope this resolves things for you!

Thanks

Awesome news - will give it a try soon. I've designed a whole set of dashboards around these icons so have been desperate to get a fix rather than editing everything manually. Will report back!

Great fix – thank you for taking the time @beecho01.

Find and replace m3s: to m3rf: was a killer :)

I won't be changing the prefix and names again! 😅 This is how I wanted them to begin with but I lacked the knowledge at the time.

I will keep this issue open for now though, to make sure the issues described above do not re-occur.

xvlw commented

So far it seems to have fixed my caching issue.

It looks like this has been fixed on desktop for me, but in the mobile app the icons don't show up at all, no matter if I switch dashboards or reload..