From b5f20c9b648935420ff80c67794b6c0cec85d243 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Tue, 23 May 2017 17:49:20 -0400 Subject: [PATCH] Always return rgb color of bulbs (#7743) --- homeassistant/components/light/wink.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homeassistant/components/light/wink.py b/homeassistant/components/light/wink.py index 1f046a2ec279..b936e9addd63 100644 --- a/homeassistant/components/light/wink.py +++ b/homeassistant/components/light/wink.py @@ -19,8 +19,6 @@ DEPENDENCIES = ['wink'] SUPPORT_WINK = SUPPORT_BRIGHTNESS | SUPPORT_COLOR_TEMP | SUPPORT_RGB_COLOR -RGB_MODES = ['hsb', 'rgb'] - def setup_platform(hass, config, add_devices, discovery_info=None): """Set up the Wink lights.""" @@ -62,8 +60,6 @@ class WinkLight(WinkDevice, Light): """Define current bulb color in RGB.""" if not self.wink.supports_hue_saturation(): return None - elif self.wink.color_model() not in RGB_MODES: - return False else: hue = self.wink.color_hue() saturation = self.wink.color_saturation()