From f8375a17b7c7714d395936150d15d68ddd24f3ec Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 13 Mar 2017 22:29:44 +0100 Subject: [PATCH 1/2] hue: remove duplicate SUPPORT_FLASH flag --- homeassistant/components/light/hue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index 1c0970f154c66a..c7cf7bcd8b2f6c 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -47,7 +47,7 @@ PHUE_CONFIG_FILE = 'phue.conf' -SUPPORT_HUE_ON_OFF = (SUPPORT_FLASH | SUPPORT_TRANSITION | SUPPORT_FLASH) +SUPPORT_HUE_ON_OFF = (SUPPORT_FLASH | SUPPORT_TRANSITION) SUPPORT_HUE_DIMMABLE = (SUPPORT_HUE_ON_OFF | SUPPORT_BRIGHTNESS) SUPPORT_HUE_COLOR_TEMP = (SUPPORT_HUE_DIMMABLE | SUPPORT_COLOR_TEMP) SUPPORT_HUE_COLOR = (SUPPORT_HUE_DIMMABLE | SUPPORT_EFFECT | From 2ea9a1eea7eea917cdfc48d596973f243e9462e4 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 13 Mar 2017 22:30:29 +0100 Subject: [PATCH 2/2] hue: use correct device class for the Osram Lightify Plug --- homeassistant/components/light/hue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index c7cf7bcd8b2f6c..31ec88f3c97669 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -58,6 +58,7 @@ 'Extended color light': SUPPORT_HUE_EXTENDED, 'Color light': SUPPORT_HUE_COLOR, 'Dimmable light': SUPPORT_HUE_DIMMABLE, + 'On/Off plug-in unit': SUPPORT_HUE_ON_OFF, 'Color temperature light': SUPPORT_HUE_COLOR_TEMP }