diff --git a/Verbraucher_Sperrbar/module.php b/Verbraucher_Sperrbar/module.php index 69423f7..fddc3b3 100644 --- a/Verbraucher_Sperrbar/module.php +++ b/Verbraucher_Sperrbar/module.php @@ -170,7 +170,7 @@ class Verbraucher_Sperrbar extends IPSModule if($istSperre ==false && GetValue($this->ReadPropertyInteger("Leistung"))>=$this->ReadPropertyInteger("Mindestsperrleistung")){ $istSperre = true; $this->SetValue("Sperrung_Aktiv", true); - }elseif($istSperre ==true && GetValue($this->ReadPropertyInteger("Leistung"))<=$this->ReadPropertyInteger("Mindestsperrleistung")){ + }elseif($istSperre ==true && GetValue($this->ReadPropertyInteger("Leistung"))<$this->ReadPropertyInteger("Mindestsperrleistung")){ $istSperre = false; $this->SetValue("Sperrung_Aktiv", false); }