no message

This commit is contained in:
2025-10-30 07:24:07 +01:00
parent 62b5d87454
commit dd48587425

View File

@@ -202,13 +202,13 @@ class Manager extends IPSModule
$Is_Peak_Shaving = true; $Is_Peak_Shaving = true;
} }
elseif( $this->("Is_Peak_Shaving")==false){ elseif( $this->GetValue("Is_Peak_Shaving")==false){
$remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug); $remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug);
$Is_Peak_Shaving = false; $Is_Peak_Shaving = false;
} }
elseif( $this->("Is_Peak_Shaving")==true){ elseif( $this->GetValue("Is_Peak_Shaving")==true){
$remainingPower = $Peakleistung - $Netzbezug; $remainingPower = $Peakleistung - $Netzbezug;
$Is_Peak_Shaving = true; $Is_Peak_Shaving = true;