This commit is contained in:
2025-04-25 10:40:53 +02:00
parent 462870ee88
commit 881d131699

View File

@@ -132,7 +132,7 @@ class Ansteuerung_Askoheat extends IPSModule
// Methode zum Setzen des aktuellen Stromverbrauchs // Methode zum Setzen des aktuellen Stromverbrauchs
public function SetAktuelle_Leistung(int $power) 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 // Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung
$lastPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung")); $lastPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung"));
@@ -234,9 +234,7 @@ class Ansteuerung_Askoheat extends IPSModule
$AktuelleVollast = GetValue( $AktuelleVollast = GetValue(
$this->ReadPropertyInteger("Variable_Leistung") $this->ReadPropertyInteger("Variable_Leistung")
); );
$AktuelleTeillast = GetValue(
$this->ReadPropertyInteger("Kontakt_Teillast")
);
if ($boilerTemp > $LegioTemp) { if ($boilerTemp > $LegioTemp) {
$LegioCounter = 0; $LegioCounter = 0;