diff --git a/Ansteuerung_Askoheat/module.php b/Ansteuerung_Askoheat/module.php index 5ed066d..18efdd5 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) { - 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")); diff --git a/Verbraucher_Sperrbar/module.php b/Verbraucher_Sperrbar/module.php index 650243d..532339a 100644 --- a/Verbraucher_Sperrbar/module.php +++ b/Verbraucher_Sperrbar/module.php @@ -17,6 +17,8 @@ class Verbraucher_Sperrbar extends IPSModule // Verbraucherspezifische Variabeln $this->RegisterVariableInteger("DailyOnTime", "DailyOnTime", "", 0); $this->RegisterVariableBoolean("IsTimerActive", "IsTimerActive", "", 0); + $this->RegisterVariableBoolean("IstNacht", "IstNacht", "", 0); + // Verbraucherspezifischer Timer $this->SetValue("IsTimerActive", false);