diff --git a/fs_src/script.js b/fs_src/script.js index 9f1d0c2a..ceae40fe 100644 --- a/fs_src/script.js +++ b/fs_src/script.js @@ -726,8 +726,19 @@ function updateComponent(cd) { if (cd.type == Component_Type.kLightBulb) { if (cd.bulb_type == LightBulbController_BulbType.kCCT) { headText = "CCT"; + if (lastInfo.model == "ShellyRGBW2") { + if (cd.id == 1) { + headText += " R/G"; + } else { + headText += " B/W"; + } + } } else if (cd.bulb_type == LightBulbController_BulbType.kRGBW) { - headText = "RGB"; + if (lastInfo.sys_mode == 4) { + headText = "RGBW"; + } else { + headText = "RGB"; + } } else { headText = "Light"; }