-
-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check color mode values for emptiness (#829)
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
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters