From 6a7ecc6f4f960c2ffe501e859fddb5d328343ccd Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 21 May 2026 15:55:54 +0000 Subject: [PATCH] Fix WLED light.turn_on with color_name failing on serialization --- homeassistant/components/wled/light.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/wled/light.py b/homeassistant/components/wled/light.py index 701f765ebaa9..0845735e6c31 100644 --- a/homeassistant/components/wled/light.py +++ b/homeassistant/components/wled/light.py @@ -254,10 +254,10 @@ class WLEDSegmentLight(WLEDEntity, LightEntity): } if ATTR_RGB_COLOR in kwargs: - data[ATTR_COLOR_PRIMARY] = kwargs[ATTR_RGB_COLOR] + data[ATTR_COLOR_PRIMARY] = tuple(kwargs[ATTR_RGB_COLOR]) if ATTR_RGBW_COLOR in kwargs: - data[ATTR_COLOR_PRIMARY] = kwargs[ATTR_RGBW_COLOR] + data[ATTR_COLOR_PRIMARY] = tuple(kwargs[ATTR_RGBW_COLOR]) if ATTR_COLOR_TEMP_KELVIN in kwargs: data[ATTR_CCT] = kelvin_to_255(