Skip to content

Commit d306208

Browse files
Merge remote-tracking branch 'Tasmota/development' into work
2 parents 217f9ea + 5d50622 commit d306208

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,11 @@ bool DaliInit(uint32_t function) {
974974
Dali->target_rgbwaf = DaliQueryRGBWAF(DaliTarget2Address(Dali->Settings.target));
975975
if (Dali->target_rgbwaf > 1) {
976976
TasmotaGlobal.light_type = Dali->Settings.light_type;
977+
if (!Settings->flag3.pwm_multi_channels && // SetOption68 0 - Enable multi-channels PWM instead of Color PWM
978+
(TasmotaGlobal.light_type >= LT_RGBW) && // RGBW or RGBCW
979+
(Settings->param[P_RGB_REMAP] & 128)) { // SetOption37 128
980+
UpdateDevicesPresent(1); // We manage RGB and W separately, hence adding a device
981+
}
977982
}
978983
#endif // DALI_LIGHT_COLOR_SUPPORT
979984

0 commit comments

Comments
 (0)