Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presets colors doesn't work #74

Open
DomoSnk opened this issue Feb 15, 2023 · 7 comments
Open

Presets colors doesn't work #74

DomoSnk opened this issue Feb 15, 2023 · 7 comments

Comments

@DomoSnk
Copy link

DomoSnk commented Feb 15, 2023

Hello, After several months of running my script stopped changing the pre-set colors.
If I click on any of the colors nothing happen.
If I try to change the color from MQTT everything works.

luci

@bokub
Copy link
Owner

bokub commented Feb 15, 2023

Hello,

I have no idea why it's not working, and without more information, I'm unable to help you

@DomoSnk
Copy link
Author

DomoSnk commented Feb 15, 2023

Hello,

I have no idea why it's not working, and without more information, I'm unable to help you

Just tell me what information do you need?

@bokub
Copy link
Owner

bokub commented Feb 15, 2023

  • Is there any kind of error message displayed when you click on colors ?
  • Is there any log in the JavaScript console (F12 to open) ?
  • Can you turn on the lights with the light.turn_on service ? (if yes, please send a screenshot)

@bokub
Copy link
Owner

bokub commented Feb 15, 2023

FYI this card hasn't changed for almost 1 year, so the problem comes either from Home Assistant (but I cannot reproduce it with the latest version), or from your setup.

@DomoSnk
Copy link
Author

DomoSnk commented Feb 15, 2023

  • no error
  • yes there are a lot of logs, I add error screen and a txt file with all the error/logs
    errors.txt
    error
  • yes the lights work correctly if I turn on with the last color memorized
    events

@pullasuti
Copy link

pullasuti commented Dec 20, 2023

I noticed this as well, and thought that the extension just didn't work. But I happened to notice, that when I was adding multiple lights to a card, one of them (Hue Lightstrip) did work when clicking the presets. The other Hue lightstrips or bulbs did not respond to the presets. No errors in the console, same with Firefox and Chrome. All the Hue devices are connected through the Hue integration, there is also one purely Zigbee2MQTT connected lightstrip, which doesn't work either. All lights do turn on and off, but the preset color just doesn't seem to do anything.

Edit: Ok, in my case I suppose it's just user error. I was trying to add multiple lights with the visual editor, assuming you can set a universal color preset for all of them through the UI, but didn't notice it adds the color presets per entity and defaults to the first proposed light entity (this is the one that worked with the above description).

Sorry 🤦‍♂️

(@bokub ☝️)

@bokub
Copy link
Owner

bokub commented Dec 20, 2023

@DomoSnk From what I can see in your screenshot, the errors come from "kiosk-mode", there is nothing related to this card.

@pullasuti Can you please share your card config ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants