From b159e8acee180d4ed0ab75e6ab59dd3cc18e4072 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 7 Mar 2018 09:51:36 -0800 Subject: [PATCH] Hue: Don't change brightness when changing just color (#12940) --- homeassistant/components/light/hue.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index 40c2f647940..bee6840f346 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -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))