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