Homeassistant-WLED-Card icon indicating copy to clipboard operation
Homeassistant-WLED-Card copied to clipboard

Icon Change?

Open JerLarge opened this issue 5 years ago • 5 comments

Is there a way to change the icon? Seems to be defaulted to the lamp, as Lamp123. Is there any way to change the icon to something else?

JerLarge avatar Dec 12 '19 04:12 JerLarge

Unfortunatly there ist no way to change it yet, but i will consider adding it soon!

Shaegi avatar Dec 12 '19 06:12 Shaegi

will this ever get introduced?

jappyjan avatar Jan 10 '21 00:01 jappyjan

I implemented a way to change icons, but I had no way testing it since my Hassio is currently broken. I will report back if I had the chance to test it. If you want to give it a try clone develop-branch. I also changed the way to load the files (included webpack so external dependencies are all in one file) just follow the new instructions in the readme. This is also not tested so be sure to have a backup. You should be able to add an "icon" property in the config. available icon names are: lamp deskLamp, coachLamp, outdoorLamp, lavaLamp, floorLamp

Shaegi avatar Jan 10 '21 12:01 Shaegi

I got it running again (besides mqtt) and tested it. It seems to work image

Shaegi avatar Jan 10 '21 15:01 Shaegi

I just checked out the develop branch and for me it does not work... the lovelace card stays blank and i get an "invalid hex code" error in the console...

The Card is the one with the title "Cloud"

Bildschirmfoto 2021-01-11 um 12 05 43

jappyjan avatar Jan 11 '21 11:01 jappyjan