feat: added OT option dhwStateAsDhwBlocking

For Baxi Slim with Bertelli
This commit is contained in:
Yurii
2025-06-16 01:04:07 +03:00
parent ba03c9cda3
commit 1eee184887
8 changed files with 28 additions and 1 deletions

View File

@@ -205,6 +205,12 @@ protected:
summerWinterMode = vars.master.heating.enabled == summerWinterMode;
}
// DHW blocking
bool dhwBlocking = settings.opentherm.options.dhwBlocking;
if (settings.opentherm.options.dhwStateAsDhwBlocking) {
dhwBlocking = vars.master.dhw.enabled == dhwBlocking;
}
unsigned long response = this->instance->setBoilerStatus(
vars.master.heating.enabled,
vars.master.dhw.enabled,
@@ -212,7 +218,7 @@ protected:
settings.opentherm.options.nativeHeatingControl,
vars.master.ch2.enabled,
summerWinterMode,
settings.opentherm.options.dhwBlocking,
dhwBlocking,
statusLb
);