This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user