elax46 / custom-brand-icons

Custom brand icons for Home Assistant
https://elax46.github.io/custom-brand-icons/
Other
842 stars 92 forks source link

Icons not visible [Cache Issue] #287

Closed gabrio79 closed 1 year ago

gabrio79 commented 1 year ago

Describe the bug Since latest HA update addon stopped works, I don't see icon now. Nothing changes on my configuration. Same issue on mobile app

Home Assistant 2022.11.5 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest custom-brand-icons 1.0.86

Sample of issue image Sample of used code:

  - entity: light.farmacia_stripled
    name: Stripled
    type: custom:multiple-entity-row
    toggle: true
    state_color: true
    icon: phu:light-strip
    entities:
      - entity: sensor.farmacia_stripled_assorbimento
        name: Assorbimento
  - type: divider
  - entity: light.farmacia_logo_bancone
    name: Logo Bancone
    type: custom:multiple-entity-row
    toggle: true
    state_color: true
    icon: mdi:mortar-pestle-plus
    entities:
      - entity: sensor.farmacia_logo_bancone_assorbimento
        name: Assorbimento
elax46 commented 1 year ago

This problem depends on the cache

gabrio79 commented 1 year ago

Hello, I tryed to clear cache, nothing is changed

Il Gio 1 Dic 2022, 21:22 Emanuele @.***> ha scritto:

This problem depends on the cache https://github.com/elax46/custom-brand-icons#dont-see-the-icon

— Reply to this email directly, view it on GitHub https://github.com/elax46/custom-brand-icons/issues/287#issuecomment-1334400296, or unsubscribe https://github.com/notifications/unsubscribe-auth/APW3TYA72SPUZEABZ6MRQ73WLECIZANCNFSM6AAAAAASRDAN7Q . You are receiving this because you authored the thread.Message ID: @.***>

rchiileea commented 1 year ago

I just tested on 3 different browsers as well as mobile and it works fine for me, have you tried re installing the repo? are you running on a pi and SD card is near end of life?

fulviomeomartini commented 1 year ago

Describe the bug Since latest HA update addon stopped works, I don't see icon now. Nothing changes on my configuration. Same issue on mobile app

Home Assistant 2022.11.5 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest custom-brand-icons 1.0.86

Sample of issue image Sample of used code:

  - entity: light.farmacia_stripled
    name: Stripled
    type: custom:multiple-entity-row
    toggle: true
    state_color: true
    icon: phu:light-strip
    entities:
      - entity: sensor.farmacia_stripled_assorbimento
        name: Assorbimento
  - type: divider
  - entity: light.farmacia_logo_bancone
    name: Logo Bancone
    type: custom:multiple-entity-row
    toggle: true
    state_color: true
    icon: mdi:mortar-pestle-plus
    entities:
      - entity: sensor.farmacia_logo_bancone_assorbimento
        name: Assorbimento

same here

gabrio79 commented 1 year ago

I just tested on 3 different browsers as well as mobile and it works fine for me, have you tried re installing the repo? are you running on a pi and SD card is near end of life?

hello, I tried to reload cache, reinstall addon, restart server, nothing changed. I have HA on raspberry 4 running on SDD

If I use chrome developer tab, it seems that SVG section is missing

Screenshot 2022-12-03 alle 10 01 20

while in the native image there is

Screenshot 2022-12-03 alle 10 02 26
elax46 commented 1 year ago

I just tested on 3 different browsers as well as mobile and it works fine for me, have you tried re installing the repo? are you running on a pi and SD card is near end of life?

hello, I tried to reload cache, reinstall addon, restart server, nothing changed. I have HA on raspberry 4 running on SDD

If I use chrome developer tab, it seems that SVG section is missing Screenshot 2022-12-03 alle 10 01 20

while in the native image there is Screenshot 2022-12-03 alle 10 02 26

the icon path is present in the <g>..</g> tag

gabrio79 commented 1 year ago

in first section (where I use your addon), the .. tag is missing

Screenshot 2022-12-03 alle 10 01 20
elax46 commented 1 year ago
Screenshot 2022-12-03 alle 10 02 26

@gabrio79 Here I seem to see it however the html management is by HA not by the CBI

gabrio79 commented 1 year ago
Screenshot 2022-12-03 alle 10 02 26

@gabrio79 Here I seem to see it however the html management is by HA not by the CBI

upper was a sample related to native icon, used to compare

below is related to CBI where <g></g> is missing

Screenshot 2022-12-03 alle 10 01 20
elax46 commented 1 year ago

the light-strip icon is present in the js file i don't know if you use components that can negatively affect it in general it's a problem that depends a lot on the cache of the devices. Also check if there is any component, such as custom dashboard, that can create problems

gabrio79 commented 1 year ago

Found it! it was the custom addon "state-switch", I dasbled it, empty cache and now is working fine. Many thanks for your time and patience

elax46 commented 1 year ago

Thank you so much for your very important feedback!

Marko298 commented 11 months ago

Hello, I have same problem. I tried to clean caches in all possible ways. Same thing in incognito mode https://share.cleanshot.com/kW2nGQwL

oerix commented 2 months ago

Having the same problem on HA 2024.7.4 and previous versions. @elax46 Any update on this please? thanks