ljmerza / light-entity-card

Control any light or switch entity
MIT License
234 stars 41 forks source link

Cannot change color with the color picker (wheel) snaps back #117

Open turkomano opened 9 months ago

turkomano commented 9 months ago

Recently I had an issue that appears to be fixed in the latest version (v6.1.1), but now it appears that I have a different problem. I cannot change the color at all. After selecting a color it snaps back to its original color, making no change to the state of the color.

I am using the Home Assistant app on iOS.

Previous issue related to the latest patch: https://github.com/ljmerza/light-entity-card/issues/113

farfarfromhome commented 8 months ago

I have a similar but stranger problem. I am running 6.1.3. Selections on the color wheel snap to the outside values. For example, a selection in the middle which should have an RGB value of 255,255,255 snaps to something like 255,255,0. My light is an ESPHome RGBW light. Additionally, despite selecting the white_value: true, no white selection appears in the card, only brightness. Hence white cannot be set. Needless to say, everything works correctly with the HA entity card. This used to OK but I cannot say which revision level it first failed.

AthAshino commented 2 months ago

Same issue here for a long time. Always thought it was an issue on my side. Looks like it is not

AthAshino commented 2 months ago

How?

Le mar. 23 juil. 2024 à 18:16, abdulkerim-pressplay < @.***> a écrit :

I just started using the default color picker, until this gets fixed.

— Reply to this email directly, view it on GitHub https://github.com/ljmerza/light-entity-card/issues/117#issuecomment-2245671147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDZMJFLQCXE2VX2GIUMURTZNZ6VPAVCNFSM6AAAAABBPAPIN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGY3TCMJUG4 . You are receiving this because you commented.Message ID: @.***>

turkomano commented 2 months ago

I just started using the default color picker. @AthAshino it really depends, I use a component that uses this library. That component has a toggle between this color picker or the default one.

If you want more specifics: https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_light/