bokub / rgb-light-card

💡 A Home Assistant card for RGB lights
MIT License
427 stars 24 forks source link

Card doesn't work in HA 0.106b0 #15

Closed noxhirsch closed 4 years ago

noxhirsch commented 4 years ago

Hi, the light card doesn't work in HA 0.106b0 and creates this error in console: Uncaught (in promise) http://XXXXXXXXXXX/community_plugin/rgb-light-card/card.js

I think it has something to do with the changes for custom cards: https://developers.home-assistant.io/blog/2020/02/18/106-custom-card-changes/

Thank you! Nico

bokub commented 4 years ago

Can you please reproduce the error, then open your JS console (F12 key) and post a screenshot?

Thanks

noxhirsch commented 4 years ago

Update: I found an additional 404 error in the top of the console (I just didn't see it because of the many card errors in 0.106b0) 🤦‍♂️ HACS somehow removed the folder and card.js of rgb-light-card and even didn't reinstalled it. Then I added it manually. Now I get this error: rgb-card

noxhirsch commented 4 years ago

And this is the card: image

Woodcat64 commented 4 years ago

Had similar issue yesterday. After upgrade to v1.4.0, previously working Rgb-light-card would not work. "Custom element doesn't exist: rgb-light-card"

Tried downgrading to v1.3 and v1.2 and when that did not work I uninstalled it, but it would not install back. It said it is installed, but no rgb-light-card directory was created. Manually made directory and copied in card.js file.

I'm still on Home Assistant 0.105.5 with HACS 0.21.5

bokub commented 4 years ago

I’ve done a quick fix release. Can you please uninstall the card, install v1.4.1, and tell me if your problems are solved?

Thanks a lot :+1:

Woodcat64 commented 4 years ago

Yes, It's working for me. Thank you

bokub commented 4 years ago

That's great to hear 😌 I'm waiting for @noxhirsch to answer before closing the issue

noxhirsch commented 4 years ago

Sorry for the late reply - it was night time in Germany 😴 Now I've tested v1.4.1 and it's working fine for me again. Thank you very much for your fast fix (despite that this HA version is still beta)!