fix configuration pmStandard value

This commit is contained in:
Phat Nguyen committed 2024-04-14 21:36:50 +07:00
1 parent 6e1ac26187
commit 5f15e29c76
1 file changed
+1 -1
+1 -1
View File
@@ -281,7 +281,7 @@ bool Configuration::parse(String data, bool isLocal) {
bool inUSAQI = true;
if (pmStandard == "ugm3") {
inUSAQI = false;
} else if (pmStandard == "USAQI") {
} else if (pmStandard == "us-aqi") {
inUSAQI = true;
} else {
failedMessage = jsonValueInvalidMessage("pmStandard", pmStandard);