Skip to content

Commit f152529

Browse files
committed
Remove "color_mode" flag in discovery message
1 parent 1d55147 commit f152529

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

h801-mqtt-json.ino

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// #define MQTT_MAX_PACKET_SIZE 128 --> #define MQTT_MAX_PACKET_SIZE 800
1111

1212
#define MQTT_MAX_PACKET_SIZE 800
13-
#define FIRMWARE_VERSION "2.0.1"
13+
#define FIRMWARE_VERSION "2.0.2"
1414
#define MANUFACTURER "Huacanxing"
1515

1616
#include <string>
@@ -408,7 +408,6 @@ void publishJsonDiscovery_entity(const char type[], const char type_topic[], boo
408408
JsonArray sup_col_modes;
409409
if(sup_color_temp | sup_rgb) {
410410
sup_col_modes = root.createNestedArray("supported_color_modes");
411-
root["color_mode"] = true;
412411
}
413412
if(sup_color_temp) {
414413
sup_col_modes.add("color_temp");

0 commit comments

Comments
 (0)