diff --git a/custom_components/dirigera_platform/light.py b/custom_components/dirigera_platform/light.py index ddd299a..9584581 100644 --- a/custom_components/dirigera_platform/light.py +++ b/custom_components/dirigera_platform/light.py @@ -160,8 +160,9 @@ def turn_on(self, **kwargs): logger.debug("Request to set color HS") hs_tuple = kwargs[ATTR_HS_COLOR] self._color_hue = hs_tuple[0] - self._color_saturation = hs_tuple[1] - self._json_data.set_light_color(self._color_hue, self._color_saturation) + self._color_saturation = hs_tuple[1]/100 + # Saturation is 0 - 1 at IKEA + self._json_data.set_light_color(self._color_hue, self._color_saturation/100) except Exception as ex: logger.error("error encountered turning on : {}".format(self.name))