Skip to content
Permalink
Browse files

Fix light profiles for HomeMatic lights (#35882)

  • Loading branch information
danielperna84 authored and pvizeli committed May 21, 2020
1 parent b9ab6d1 commit c7008eb7615681b40448aacf87b91f038fad7e89
Showing with 1 addition and 1 deletion.
  1. +1 −1 homeassistant/components/homematic/light.py
@@ -111,7 +111,7 @@ def turn_on(self, **kwargs):
):
self._hmdevice.on(self._channel)

if ATTR_HS_COLOR in kwargs:
if ATTR_HS_COLOR in kwargs and self.supported_features & SUPPORT_COLOR:
self._hmdevice.set_hs_color(
hue=kwargs[ATTR_HS_COLOR][0] / 360.0,
saturation=kwargs[ATTR_HS_COLOR][1] / 100.0,

0 comments on commit c7008eb

Please sign in to comment.
You can’t perform that action at this time.