Shaegi / Homeassistant-WLED-Card

Home Assistant Lovelace Card to control https://github.com/Aircoookie/WLED solution to "controlling WS2812B RGB LEDs with an ESP8266 over WiFi"
45 stars 5 forks source link

Icon Change? #7

Open JerLarge opened 4 years ago

JerLarge commented 4 years ago

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?

Shaegi commented 4 years ago

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

jappyjan commented 3 years ago

will this ever get introduced?

Shaegi commented 3 years ago

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 commented 3 years ago

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

jappyjan commented 3 years ago

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