[LPM] - Update state (#1445)

When issuing a low power mode change update the state to the controller
This commit is contained in:
Florian authored and GitHub committed 2023-02-09 16:18:39 -06:00
1 parent 26c0cca614
commit 1b0778dc0a
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -802,6 +802,8 @@ void changelowpowermode(int newLowPowerMode) {
preferences.begin(Gateway_Short_Name, false);
preferences.putUInt("lowpowermode", lowpowermode);
preferences.end();
// Publish the states to update the controller switch status
stateMeasures();
}
void setupBT() {