[LPM] - Update state (#1445)
When issuing a low power mode change update the state to the controller
This commit is contained in:
1 parent
26c0cca614
commit
1b0778dc0a
2 files changed
+3
-1
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user