diff --git a/Ansteuerung_Askoheat/module.php b/Ansteuerung_Askoheat/module.php index 18efdd5..38b4a5d 100644 --- a/Ansteuerung_Askoheat/module.php +++ b/Ansteuerung_Askoheat/module.php @@ -132,7 +132,7 @@ class Ansteuerung_Askoheat extends IPSModule // Methode zum Setzen des aktuellen Stromverbrauchs public function SetAktuelle_Leistung(int $power) { - SetValue($this->ReadPropertyInteger("Variable_Leistung"), $power); + RequestAction($this->ReadPropertyInteger("Variable_Leistung"), $power); // Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung $lastPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung")); @@ -234,9 +234,7 @@ class Ansteuerung_Askoheat extends IPSModule $AktuelleVollast = GetValue( $this->ReadPropertyInteger("Variable_Leistung") ); - $AktuelleTeillast = GetValue( - $this->ReadPropertyInteger("Kontakt_Teillast") - ); + if ($boilerTemp > $LegioTemp) { $LegioCounter = 0;