Hi,
I tried to get this working but horribly failed.
I installed it via HACS. As soon as I add the light_profiles.csv in my config folder and restart hass my hue lights become unavailable.
I tried to add
Where do I define the YAML that displays the coloured icon when itâs active? I canât seem to find the location. I installed this via HACS if that makes a difference.
I followed all installation docs, put the light_profiles.csv inside the /config folder, added the entry light_profiles inside the ui.lovelace.yaml with the same values of light_profiles.csv, added the card inside ui.lovelace.yaml. but this is what i get:
I am able to turn on and off the lights, but clicking over a profile it do not nothing. Nothing changeâŚ
I currently have the same issue. Iâm on RPi4 and 0.116.0.
Also have double-checked my two configs + card debug mode.
Nevertheless, it seems like youâre using non RGB lights (x,y: null), is that correct?
In that case both your light_profiles.csv and the profiles in your ui-lovelace.yaml must contains zeros for x & y:
light_profiles.csv
id,x,y,brightness
bright,0,0,254
and
ui-lovelace.yaml
light_profiles:
bright: '0,0,254'
and then in debug mode you should see x,y: null brightness: 254
Almost a year ago Iâve struggled with the issue that just RGB lights were supported by the card.
Itâs documented in this very thread (also see the following posts).
Yes, one of them was a non RGB light.
I discovered also id di not put id,x,y,brightness inside the light_profiles.csv.
Now after a reset it seems working but when i click over a profile i do not have the change of the color in the icon. Maybe because i must put id,x,y,brightness also inside the light_profiles in ui-lovelace.yaml?
BTW thanks for the hintsâŚ
I discovered that the system actually DO add an âactiveâ attribute to the selected profiles. However, due to a CSS bug(feature) it does not change.
Can you check the code with inspector in Chrome? Please click one of the profile icons to âactivateâ it. Than right click on the same icon and click: âinspectâ. The Chrome Inspector will popup.
Mind the âactiveâ attribute. If itâs not there then something is wrong. But you can test the CSS code by clicking âadd attributeâ by right clicking the
adding debug: true to the card shows the exact same values as above?
Does your light support XY config( like Philips Hue ) or brightness only? ( 0,0, 150 e.g.) ?