Merge pull request #169 from airgradienthq/feature/add-boott-support-ha

Add bootCount to support on HA
This commit is contained in:
Phat Nguyen
2024-06-05 13:22:19 +07:00
committed by GitHub

View File

@ -174,6 +174,7 @@ String Measurements::toString(bool localServer, AgFirmwareMode fwMode, int rssi,
}
}
root["boot"] = bootCount;
root["bootCount"] = bootCount;
if (localServer) {
root["ledMode"] = config->getLedBarModeName();