dave-code-ruiz / elkbledom

Home Assistant custom component for LED STRIP NAME ELK BLEDOM
MIT License
81 stars 17 forks source link

wrong behavior detected by @diandr6 94% brightness #28

Closed dave-code-ruiz closed 1 year ago

dave-code-ruiz commented 1 year ago

In #22 the user @diandr6 detected wrong behavior, she explain it :

The lamp works and connects, but the white color does not behave as usual. For the interface, the lamp is always at 94% brightness (even if the HA interface is set to 1%) and the selected color mode. Warm white and cool white modes do not work correctly. Warm white = 10,000K and cool white = 1,000,000K when the actual range is 3000K to 6500K. When the lamp is turned on in white mode, the interface is displayed as in color mode (blue or light yellow) and turning off / on the lamp switches it to color mode.

And with video

I think the video will make it clearer what's going on. https://youtu.be/AtCGdVATMDE

raulgbcr commented 1 year ago

You can actually set the color temp range in kelvins using the light class and configure a range for each light, it will display the correct range in HA and limit you to those, have done something similar in https://github.com/raulgbcr/lednetwf_ble/blob/main/light.py which is heavily based on your integration code!

dave-code-ruiz commented 1 year ago

Thnks @raulgbcr i implement it when have time.

I redirect my support features in readme to your repo when the strip is supported for your code.

ynsgnr commented 1 year ago

This should fix it: https://github.com/dave-code-ruiz/elkbledom/pull/41