Merge pull request #131 from airgradienthq/hotfix/update-local-configure-repsonse-fail-message

Update local configuration response failed message
This commit is contained in:
AirGradient
2024-05-16 11:52:57 +07:00
committed by GitHub

View File

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