We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb34e2 commit 261e6beCopy full SHA for 261e6be
fs_src/script.js
@@ -730,8 +730,19 @@ function updateComponent(cd) {
730
if (cd.type == Component_Type.kLightBulb) {
731
if (cd.bulb_type == LightBulbController_BulbType.kCCT) {
732
headText = "CCT";
733
+ if (lastInfo.model == "ShellyRGBW2") {
734
+ if (cd.id == 1) {
735
+ headText += " R/G";
736
+ } else {
737
+ headText += " B/W";
738
+ }
739
740
} else if (cd.bulb_type == LightBulbController_BulbType.kRGBW) {
- headText = "RGB";
741
+ if (lastInfo.sys_mode == 4) {
742
+ headText = "RGBW";
743
744
+ headText = "RGB";
745
746
} else {
747
headText = "Light";
748
}
0 commit comments