From 888b96b06b989391bab0d85550c969dd59749000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Tue, 4 Jun 2019 14:13:09 +0200 Subject: [PATCH] Removed debug --- homeassistant/components/avea/light.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/avea/light.py b/homeassistant/components/avea/light.py index ecd3ce99817..fd6a44b4311 100644 --- a/homeassistant/components/avea/light.py +++ b/homeassistant/components/avea/light.py @@ -70,7 +70,6 @@ class AveaLight(Light): bright_percent = round((kwargs.get(ATTR_BRIGHTNESS, 255)/255)*100) self._light.set_brightness(round(4095 * (bright_percent / 100))); if ATTR_HS_COLOR in kwargs: - _LOGGER.error("ATTR_HS_COLOR!") rgb = color_util.color_hs_to_RGB(*kwargs[ATTR_HS_COLOR]) self._light.set_rgb(round(255 * (rgb[0] / 100)), round(255 * (rgb[1] / 100)), round(255 * (rgb[2] / 100))); @@ -89,4 +88,4 @@ class AveaLight(Light): else: self._state = True bright_percent = round((self._light.get_brightness()/4095)*100) - self._brightness = round(255 * (bright_percent / 100)) \ No newline at end of file + self._brightness = round(255 * (bright_percent / 100))