Update local configuration response failed message

This commit is contained in:
Phat Nguyen
2024-05-15 17:15:36 +07:00
parent a71c038864
commit 4f9f800cce

View File

@ -280,7 +280,8 @@ bool Configuration::parse(String data, bool isLocal) {
if (jconfig[jprop_configurationControl] == if (jconfig[jprop_configurationControl] ==
String(CONFIGURATION_CONTROL_NAME String(CONFIGURATION_CONTROL_NAME
[ConfigurationControl::ConfigurationControlCloud])) { [ConfigurationControl::ConfigurationControlCloud])) {
failedMessage = "Local configure ignored"; failedMessage = "Monitor set to accept only configuration from the "
"cloud. Use property configurationControl to change.";
jsonInvalid(); jsonInvalid();
return false; return false;
} }