diff --git a/Manager/module.php b/Manager/module.php index 4a1f8ac..49381d7 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -202,13 +202,13 @@ class Manager extends IPSModule $Is_Peak_Shaving = true; } - elseif( $this->("Is_Peak_Shaving")==false){ + elseif( $this->GetValue("Is_Peak_Shaving")==false){ $remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug); $Is_Peak_Shaving = false; } - elseif( $this->("Is_Peak_Shaving")==true){ + elseif( $this->GetValue("Is_Peak_Shaving")==true){ $remainingPower = $Peakleistung - $Netzbezug; $Is_Peak_Shaving = true;