From b76471c4b3267e2ed805cf82027d36559bc2fe22 Mon Sep 17 00:00:00 2001 From: Tom Duijf Date: Fri, 30 Oct 2015 19:15:38 +0000 Subject: [PATCH] :( .. pyliny --- homeassistant/components/light/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index 7c8a01407ac..3bb2b1ab239 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -253,7 +253,7 @@ def setup(hass, config): # Without this check, a ctcolor with value '99' would work # These values are based on Philips Hue, may need ajustment later if isinstance(colortemp, int) and 154 <= colortemp <= 500: - params[ATTR_COLOR_TEMP] = colortemp + params[ATTR_COLOR_TEMP] = colortemp if ATTR_RGB_COLOR in dat: try: