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.
2 parents 12b8d40 + f6ac761 commit c2a574cCopy full SHA for c2a574c
fs_src/script.js
@@ -726,8 +726,19 @@ function updateComponent(cd) {
726
if (cd.type == Component_Type.kLightBulb) {
727
if (cd.bulb_type == LightBulbController_BulbType.kCCT) {
728
headText = "CCT";
729
+ if (lastInfo.model == "ShellyRGBW2") {
730
+ if (cd.id == 1) {
731
+ headText += " R/G";
732
+ } else {
733
+ headText += " B/W";
734
+ }
735
736
} else if (cd.bulb_type == LightBulbController_BulbType.kRGBW) {
- headText = "RGB";
737
+ if (lastInfo.sys_mode == 4) {
738
+ headText = "RGBW";
739
740
+ headText = "RGB";
741
742
} else {
743
headText = "Light";
744
}
0 commit comments