-
This commit is contained in:
@@ -202,9 +202,9 @@ public function RequestAction($Ident, $Value)
|
||||
} elseif ($batterieladezustand >= $aufdasnachladen) {
|
||||
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
||||
if (abs($netzbezug)>$maxleistung){
|
||||
$dummy_array[] = $maxleistung;
|
||||
$dummy_array[] = $maxleistung*(-1);
|
||||
} else{
|
||||
$dummy_array[] = $netzbezug*(-1);
|
||||
$dummy_array[] = $netzbezug;
|
||||
}
|
||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||
$this->SetValue("In_Hystere", 0);
|
||||
|
||||
Reference in New Issue
Block a user