From 2d7d8848cba8f6e78b8b27c14197e344d356c189 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Wed, 21 Mar 2018 23:48:50 +0100 Subject: [PATCH] Fix mysensors RGBW (#13364) Tuple doesn't have append method. --- homeassistant/components/light/mysensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/mysensors.py b/homeassistant/components/light/mysensors.py index d595fc4b184..14a770b7632 100644 --- a/homeassistant/components/light/mysensors.py +++ b/homeassistant/components/light/mysensors.py @@ -104,7 +104,7 @@ class MySensorsLight(mysensors.MySensorsEntity, Light): def _turn_on_rgb_and_w(self, hex_template, **kwargs): """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 hex_color = self._values.get(self.value_type) hs_color = kwargs.get(ATTR_HS_COLOR)