Skip to content

Commit 97db8fc

Browse files
authored
ha: color_mode flag is deprecated (#2634)
Deprecated flag `color_mode` used in MQTT JSON light config , the `color_mode` flag is not used anymore and should be removed. ... This will stop working in Home Assistant Core 2025.3
1 parent 0934262 commit 97db8fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

code/espurna/homeassistant.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ class LightDiscovery : public Discovery {
621621
// 'rgbww' - we receive and map 'c' to our 'cold' and 'w' to our 'warm'
622622
// 'cw' / 'ww' without 'rgb' are not supported; see 'brightness' or 'color_temp'
623623
json["brightness"] = true;
624-
json["color_mode"] = true;
625624
JsonArray& modes = json.createNestedArray("supported_color_modes");
626625

627626
if (lightHasColor()) {

0 commit comments

Comments
 (0)