[DISC] Remove restartesp from discovery_prefix

This commit is contained in:
puterboy authored and GitHub committed 2024-08-29 07:09:16 -05:00
1 parent f34e549d59
commit 5564ed531c
1 file changed
-1
-1
View File
@@ -3339,7 +3339,6 @@ void MQTTtoSYS(char* topicOri, JsonObject& SYSdata) { // json object decoding
#ifdef ZmqttDiscovery
if (SYSdata.containsKey("discovery_prefix")) {
strncpy(discovery_prefix, SYSdata["discovery_prefix"], parameters_size);
restartESP = true; //Need to reset so all devices get re-discovered & published to new discovery_prefix
}
#endif
if (SYSdata.containsKey("gateway_name")) {