menahishayan/HomeAssistant-Cupertino-Icons

Icons are not available

Closed this issue ยท 11 comments

I'm running the latest HA core container. I installed the v3.0.1 integration via HACS for the first time yesterday. I reinstalled it today. I rebooted my computer. Afterwards I logged into my dashboard in private mode in my browser. I still cannot see the new icons, and when I copy/paste the new icon text string it doesn't even show up on the lovelace card.

Same problem here - tried the same steps, but no ios prefixed icons are showing up whatsoever

YMGV commented

same problem here - only as a new user

Same issue. installed v3.0.1 with HACS. HAS version 2021.11.1

ElVit commented

Same problem here. I can't even add the repo to hacs.
image

ElVit commented

Sorry didn't read the instructions carefully enough. The hacs repo had to be added as an "integration".
Now I have added the repo, installed the integration and restarted Home Assistant. I can also choose the icons in the icon picker, but I cannot see the images.
I cleared also the frontend cache (iOS app), deleted cookies (safari browser), restarted the computer home assistant is running on. But still can't see the icon images.
image

ElVit commented

Ok sorry for the third post in such short time. It seems that the image is not shown in the icon picker (only text is displayed) and also is not working as a lovelace tab icon.
But it is working on a lovelace card e.g. the entities card. But as in issue #4 was told the icon size is too big.

masto commented

I have the same problem in Safari (Version 14.1.2 (16611.3.10.1.6)), but it works in Chrome. Poking around with the web inspector, it seems like the Cupertino icons are getting a width of 0 in the icon picker. If I edit that to 24, they display. But that's about where my frontend skills end. I couldn't figure out where this is supposed to be set or why it's not working.

Screen Shot 2021-11-07 at 5 30 28 PM

I have the same problem in Safari (Version 14.1.2 (16611.3.10.1.6)), but it works in Chrome. Poking around with the web inspector, it seems like the Cupertino icons are getting a width of 0 in the icon picker. If I edit that to 24, they display. But that's about where my frontend skills end. I couldn't figure out where this is supposed to be set or why it's not working.

@masto is the width 0 on Chrome as well?

masto commented

@masto is the width 0 on Chrome as well?

@menahishayan No, it seems correct in Chrome.

Screen Shot 2021-11-21 at 2 33 01 PM

I've released a minor update. Please try updating and refreshing your frontend cache. Let me know if its resolved.

Edit: The easiest way to test it out without frontend caching is to just log in from private browsing.

This update fixed the issue for me