This commit is contained in:
belevo\mh
2025-02-26 10:15:07 +01:00
parent 9ab756bb22
commit 7ddd39caa7
2 changed files with 3 additions and 3 deletions

View File

@@ -202,9 +202,9 @@ public function RequestAction($Ident, $Value)
} elseif ($batterieladezustand >= $aufdasnachladen) { } elseif ($batterieladezustand >= $aufdasnachladen) {
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug")); $netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
if (abs($netzbezug)>$maxleistung){ if (abs($netzbezug)>$maxleistung){
$dummy_array[] = $maxleistung; $dummy_array[] = $maxleistung*(-1);
} else{ } else{
$dummy_array[] = $netzbezug*(-1); $dummy_array[] = $netzbezug;
} }
$this->SetValue("PowerSteps", json_encode($dummy_array)); $this->SetValue("PowerSteps", json_encode($dummy_array));
$this->SetValue("In_Hystere", 0); $this->SetValue("In_Hystere", 0);

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "1.091", "version": "1.092",
"build": 0, "build": 0,
"date": 0 "date": 0
} }