mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
fix nompower warning
This commit is contained in:
@@ -254,7 +254,9 @@ bool System::command_watch(const char * value, const int8_t id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void System::store_nvs_values() {
|
void System::store_nvs_values() {
|
||||||
|
if (Command::find_command(EMSdevice::DeviceType::BOILER, 0, "nompower") != nullptr) {
|
||||||
Command::call(EMSdevice::DeviceType::BOILER, "nompower", "-1"); // trigger a write
|
Command::call(EMSdevice::DeviceType::BOILER, "nompower", "-1"); // trigger a write
|
||||||
|
}
|
||||||
EMSESP::analogsensor_.store_counters();
|
EMSESP::analogsensor_.store_counters();
|
||||||
EMSESP::nvs_.end();
|
EMSESP::nvs_.end();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user