#Hacs & Cards

1 messages · Page 1 of 1 (latest)

karmic vault
#

Hello everybody, hopefully you guys can help me out to figure out why I can't get my dashboard to work. I have been trying to get lovelace-hue-like-light-card to work with Dwaine's dashboard. I keep getting the following error error: Custom element not found: hue-like-light-card.

Can we have a discussion how this can be caused? I installed the addon with Hacs.

half marten
#

If you installed with HACS, you shouldn't have to set up the resources. Try removing those lines from the resources. Then, try refreshing the browser/app. If that doesn't work, clear its cache and try again.
For now, also remove the style section. I looked at the docs and see where you got that bit of code. The Dev mentioned card_mod, but that's the old syntax. (We can get that part working after the card starts working.)

half marten
#

The card installed via HACS (and not adding resources) worked for me. The code, too (with the updated card_mod syntax). (TIP: Post actual code and not screenshots; it makes things way easier for others.)```yaml
type: custom:hue-like-light-card
entity: light.living_room_lights
slider: mushroom
theme: synthwave
card_mod:
style: |
.brightness-slider {
--mush-control-height: 42px;
--slider-color: white;
}

karmic vault
#

@half marten Hero, removing all resources made it work!

#

Thank you for the tip, good suggestion

#

Very very happy with this

#

I just couldnt figure out why it wasn't working. Spend atleast 5+ hours on it without any progress

half marten
#

My guess is there was probably a conflict somewhere. For the most part, HACS does a pretty good job of handling the resources. The only reason (I believe) you would need to handle the resources is if you did not want to (or are not able to) install via HACS. I have a lot of custom stuff installed and haven't had to mess with the resources. I don't think I've looked at this card before but it looks interesting. I'm going to check it out a bit more.