-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Question about light temperature #21
Comments
First or second gen lamp? It could be a bug, but IIRC it also reports the kelvin values properly when the lamp itself is in the temperature mode, and otherwise simply 0. |
Bluetooth only, so first generation I think. I've changed it to somethink like this for now in _status_cb:
but for me it somehow no logical that I got temperature 0, it should always return some K temp in any light mode. |
Please feel to submit a PR to change the behavior, if you wish to do so. But returning "some K temp" in any mode would cause inconsistent behavior when changing between modes / depending on what commands are being executed, so I don't think that's the correct approach. |
Hi,
I have Xiaomi Bedside lamp and your library after set colour is always returning "temperature 0".
If I set temp by app it returns proper light temp, at least looks like K.
Is it some different unit or why is it 0?
The text was updated successfully, but these errors were encountered: