Array korrigiert
This commit is contained in:
+2
-2
@@ -146,7 +146,7 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
$batterieManagement = $this->ReadPropertyInteger("Batteriemanagement");
|
||||
if ($batterieManagement == 1) {
|
||||
$dummy_array[] = $array_powersteps[0];
|
||||
$dummy_array[] = 0;
|
||||
return $this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||
}
|
||||
|
||||
@@ -181,8 +181,8 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
|
||||
} else {
|
||||
$dummy_array[] = $array_powersteps[0];
|
||||
|
||||
$dummy_array[] = 0;
|
||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.074",
|
||||
"version": "1.075",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user