no message
This commit is contained in:
@@ -167,10 +167,10 @@ class Verbraucher_Sperrbar extends IPSModule
|
||||
|
||||
$istSperre = $this->GetValue("Sperrung_Aktiv");
|
||||
|
||||
if($istSperre ==false && GetValue($this->ReadPropertyInteger("Leistung"))>=$this->GetValue("Mindestsperrleistung")){
|
||||
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->GetValue("Mindestsperrleistung")){
|
||||
}elseif($istSperre ==true && GetValue($this->ReadPropertyInteger("Leistung"))<=$this->ReadPropertyInteger("Mindestsperrleistung")){
|
||||
$istSperre = false;
|
||||
$this->SetValue("Sperrung_Aktiv", false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user