:( .. pyliny

This commit is contained in:
Tom Duijf 2015-10-30 19:15:38 +00:00
parent 194c6343ac
commit b76471c4b3

View File

@ -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: