andrey-git / home-assistant-custom-ui

Custom UI elements for https://home-assistant.io
https://home-assistant.io
MIT License
528 stars 97 forks source link

icon_color: updated for use in HA 0.110+ #185

Closed Mariusthvdb closed 1 week ago

Mariusthvdb commented 4 years ago

this re-instates customization of attribute icon_color in Ha 0.110

see: https://github.com/home-assistant/frontend/issues/5892

bramkragten commented 4 years ago

You should also change the source, not just the build output.

Mariusthvdb commented 4 years ago

thanks and I did, please see this, about the es5.html file, do we need that after all, for the iPhone devices? https://github.com/home-assistant/frontend/issues/5892#issuecomment-631460979

SupremeSports commented 4 years ago

this re-instates customization of attribute icon_color in Ha 0.110

see: home-assistant/frontend#5892

Hi, sorry to ask, but I did copy the new version of the file you updated, but still no icon colors on either of my computers nor iPhone app... Is there something I'm not doing right???

EDIT: Fixed Making the changes in 5892 and 6028 fixed everything for me :D

frontend:
  extra_module_url:
    - /local/custom_ui/state-card-custom-ui.js
Mariusthvdb commented 4 years ago

check, see https://github.com/home-assistant/frontend/issues/6028#issuecomment-634502064

all fixed.

Mariusthvdb commented 4 years ago

update: no longer need to use the frontend: method, but load via resources: see my dedicated repo for easy downloading and instructions

Mariusthvdb commented 4 years ago

HI Bram,

I was made aware that the custom card paper-buttons-row doesn't use the icon_color: setting customized by the new custom-ui card.

Maybe you changed anything in core that might have caused this? If so, could this be fixed in my custom-ui card as far as you know? Or would this be an issue for the paper-buttons-row card.

Please have a look if you can find a moment? Thanks!