From 562902ee458be97ac3b82acaea4344f6504fea49 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Fri, 23 Sep 2022 11:19:57 +0200 Subject: [PATCH] Shelly: Fix color state for rgbw2 --- shelly/integrationpluginshelly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shelly/integrationpluginshelly.cpp b/shelly/integrationpluginshelly.cpp index 86136d2f..029cee79 100644 --- a/shelly/integrationpluginshelly.cpp +++ b/shelly/integrationpluginshelly.cpp @@ -1078,7 +1078,7 @@ void IntegrationPluginShelly::onMulticastMessageReceived(const QHostAddress &sou } } if (thing->thingClassId() == shellyRgbw2ThingClassId) { - thing->setStateValue(shellyRgbw2ThingClassId, QColor(red, green, blue)); + thing->setStateValue(shellyRgbw2ColorStateTypeId, QColor(red, green, blue)); thing->setStateValue(shellyRgbw2WhiteChannelStateTypeId, white); }