Shelly: Fix color state for rgbw2

master
Michael Zanetti 2022-09-23 11:19:57 +02:00
parent f0abb00942
commit 562902ee45
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}