mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Only enable white mode for RGBW lights
This commit is contained in:
parent
3c6471d5de
commit
02de85efa7
@ -535,7 +535,7 @@ void HAssAnnounceRelayLight(void)
|
|||||||
TryResponseAppend_P(HASS_DISCOVER_LIGHT_CT, color_temp_command_topic, state_topic);
|
TryResponseAppend_P(HASS_DISCOVER_LIGHT_CT, color_temp_command_topic, state_topic);
|
||||||
ct_light = false;
|
ct_light = false;
|
||||||
}
|
}
|
||||||
if ((!ind_light && wt_light) || (LST_RGBW <= Light.subtype &&
|
if ((!ind_light && wt_light) || (LST_RGBW == Light.subtype &&
|
||||||
!PwmMulti && LightControl)) {
|
!PwmMulti && LightControl)) {
|
||||||
char *white_temp_command_topic = stemp1;
|
char *white_temp_command_topic = stemp1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user