fix: Waermepumpe ohne Vorgabe normal betreiben
Tests / test (push) Successful in 45s

This commit is contained in:
dh
2026-09-22 15:13:04 +00:00
parent 0f1e0c9fbb
commit a67018e68f
2 changed files with 18 additions and 7 deletions
+3 -5
View File
@@ -425,11 +425,6 @@ class VerbraucherWaermepumpe extends IPSModule implements VerbraucherSchnittstel
}
$pv = $this->ReadAttributeString('Betriebsart') === Nachrichtenvertrag::BETRIEBSART_PV;
if ($laeuft && $restMindestlaufzeit > 0) {
return $pv
? WaermepumpenRegler::STEUERZUSTAND_ERHOEHUNG
: WaermepumpenRegler::STEUERZUSTAND_NORMAL;
}
if (!(bool) $this->leseZustand('SollwertGueltig')) {
return WaermepumpenRegler::STEUERZUSTAND_NORMAL;
}
@@ -440,6 +435,9 @@ class VerbraucherWaermepumpe extends IPSModule implements VerbraucherSchnittstel
? WaermepumpenRegler::STEUERZUSTAND_ERHOEHUNG
: WaermepumpenRegler::STEUERZUSTAND_NORMAL;
}
if ($laeuft && $restMindestlaufzeit > 0) {
return WaermepumpenRegler::STEUERZUSTAND_NORMAL;
}
return $sollleistung === 0 && $sperrenZulaessig
? WaermepumpenRegler::STEUERZUSTAND_SPERRE