DBuit / light-popup-card

Lovelace card to use as custom pop-up for light in homekit style
168 stars 38 forks source link

Slider sits at the halfway height regardless of actual brightness #79

Open glitchcrab opened 2 years ago

glitchcrab commented 2 years ago

I've seen an issue where after using the slider to adjust the brightness, the slider position returns to the middle even though the brightness has changed - the correct percentage is reflected in the text above the slider though and the lights are set correctly.

The only time this doesn't happen is if I pull the slider all the way to the bottom - the brightness then gets set to 'off' and the slider stays at the bottom. However, if the lights are already off before I open the popup, the slider will still be in the middle and the text will be '0%' (instead of 'off').

light-slider light-slider-2