mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Merge branch 'dev' into channels-clean-ups
This commit is contained in:
@@ -302,7 +302,6 @@ class HueLight(Light):
|
||||
xyb = color_util.color_RGB_to_xy(
|
||||
*(int(val) for val in kwargs[ATTR_RGB_COLOR]))
|
||||
command['xy'] = xyb[0], xyb[1]
|
||||
command['bri'] = xyb[2]
|
||||
elif ATTR_COLOR_TEMP in kwargs:
|
||||
temp = kwargs[ATTR_COLOR_TEMP]
|
||||
command['ct'] = max(self.min_mireds, min(temp, self.max_mireds))
|
||||
|
Reference in New Issue
Block a user