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

yeelight: Check color mode values for emptiness #829

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

rytilahti
Copy link
Owner

yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct.
This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty.

Fixes #802

yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct.
This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty.

Fixes #802
@rytilahti rytilahti added the bug label Oct 6, 2020
@rytilahti rytilahti merged commit 2036dec into master Oct 7, 2020
swim2sun pushed a commit to swim2sun/python-miio that referenced this pull request Oct 13, 2020
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct.
This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty.

Fixes rytilahti#802
swim2sun added a commit to swim2sun/python-miio that referenced this pull request Oct 13, 2020
@rytilahti rytilahti deleted the fix/yeelight/check_color_mode_values branch January 5, 2021 23:08
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct.
This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty.

Fixes rytilahti#802
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yeeligth without color temperature status error
1 participant