Skip to content

Commit

Permalink
Merge pull request #169 from airgradienthq/feature/add-boott-support-ha
Browse files Browse the repository at this point in the history
Add bootCount to support on HA
  • Loading branch information
pnt325 committed Jun 5, 2024
2 parents fde510b + 0b12f56 commit 960d2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AgValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 960d2ba

Please # to comment.