Fehler im code der neuen module behoben

This commit is contained in:
dh
2025-04-25 10:07:22 +02:00
parent 5ae10ccc97
commit 462870ee88
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class Ansteuerung_Askoheat extends IPSModule
// Methode zum Setzen des aktuellen Stromverbrauchs
public function SetAktuelle_Leistung(int $power)
{
IPS_RequestAction($this->ReadPropertyInteger("Variable_Leistung"), $power);
SetValue($this->ReadPropertyInteger("Variable_Leistung"), $power);
// Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung
$lastPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung"));