Add support of RGB lights (#120)
* Make set_dps available. * Adding RGB support, brightness fix, color_temp range. * Update README for light options * Formatting * Formatting * Need to force to white to ensure color picker is updated. * Detect color mode RGB/HSV based on color length. * Extract rgb encoded color check in method. * Make check method private. * Fix exception when color is not available (maybe when powered off) * Reformat.
This commit is contained in:
@@ -61,7 +61,9 @@
|
||||
"brightness_upper": "Brightness Upper Value",
|
||||
"color_temp": "Color Temperature",
|
||||
"color": "Color",
|
||||
"color_mode": "Color Mode"
|
||||
"color_mode": "Color Mode",
|
||||
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -103,7 +105,9 @@
|
||||
"brightness_upper": "Brightness Upper Value",
|
||||
"color_temp": "Color Temperature",
|
||||
"color": "Color",
|
||||
"color_mode": "Color Mode"
|
||||
"color_mode": "Color Mode",
|
||||
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K"
|
||||
}
|
||||
},
|
||||
"yaml_import": {
|
||||
|
Reference in New Issue
Block a user