mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
parent
3939460814
commit
2d7d8848cb
@ -104,7 +104,7 @@ class MySensorsLight(mysensors.MySensorsEntity, Light):
|
|||||||
|
|
||||||
def _turn_on_rgb_and_w(self, hex_template, **kwargs):
|
def _turn_on_rgb_and_w(self, hex_template, **kwargs):
|
||||||
"""Turn on RGB or RGBW child device."""
|
"""Turn on RGB or RGBW child device."""
|
||||||
rgb = color_util.color_hs_to_RGB(*self._hs)
|
rgb = list(color_util.color_hs_to_RGB(*self._hs))
|
||||||
white = self._white
|
white = self._white
|
||||||
hex_color = self._values.get(self.value_type)
|
hex_color = self._values.get(self.value_type)
|
||||||
hs_color = kwargs.get(ATTR_HS_COLOR)
|
hs_color = kwargs.get(ATTR_HS_COLOR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user