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

popup_light can only change color temp but not rgb color #1620

Open
brvn0 opened this issue Feb 28, 2025 · 0 comments
Open

popup_light can only change color temp but not rgb color #1620

brvn0 opened this issue Feb 28, 2025 · 0 comments
Labels

Comments

@brvn0
Copy link

brvn0 commented Feb 28, 2025

Describe the bug
When using popup_light with card_light, I can (on multiple devices: win + android) only change the color temperature and not the rgb color. When trying to tap anywhere on the color circle it will just reset to the previous location. The color is correctly displayed in the circle when changing the color via the homeassistant settings menu.

To Reproduce
create a card_light card and hold it, then try setting the rgb color
i installed browser_mod as well and put the corresponding entry in my config (browser_mod:)

Screenshots

Image

Related Logs (can be found in the browser-console (F12))
this is a card_mod warning i receive when opening the popup but it only seems to talk about a deprecation notice and nothing concerning the actual problem

You are using a custom card which relies on card-mod, and uses an outdated signature for applyToElement.
The outdated signature will be removed at some point in the future. Hopefully the developer of your card will have updated their card by then.
The card used card-mod to apply styles here: <browser-mod-popup card="true">

Additional contex
the light is a rgbw (warm + cold white) light with tasmota installed, setup via the mqtt integration and it works completly with the default homeassistant ui/ by setting color in the settings menu

Related Card Config
Add the card config from ui-lovelace.yaml with the related problem

- type: "custom:button-card"
  template:
    - card_light
    - popup_light
  entity: light.stuttgart_wandlampen
  variables:
    ulm_card_light_name: Wandlampen
    ulm_card_light_enable_slider: true
    ulm_card_light_enable_color: true
    ulm_card_light_enable_popup: true
    #ulm_card_light_enable_popup_tap: true
    #ulm_card_light_enable_buttons: true
    #ulm_card_light_enable_slider_minSet: 7
    #ulm_card_light_enable_slider_maxSet: 80
    #ulm_card_light_brightness_low: 10
    #ulm_card_light_brightness_medium: 40
    #ulm_card_light_brightness_high: 70

Edit: additional context about the light added

@brvn0 brvn0 added the 🐛 bug label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant