[DISC] Remove restartesp from discovery_prefix
This commit is contained in:
1 parent
f34e549d59
commit
5564ed531c
1 file changed
-1
@@ -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")) {
|
||||
|
||||
Reference in new issue
Block a user