fehler behoben
This commit is contained in:
@@ -75,6 +75,7 @@ class Batterie extends IPSModule
|
||||
$minimumentladen = $this->ReadPropertyInteger("MinimumEntladen");
|
||||
$batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand");
|
||||
$maxleistung = $this->GetValue("MaxBatterieleistung");
|
||||
$spannung = $this->GetValue("Batteriespannung");
|
||||
|
||||
// Batterie entladen oder laden basierend auf der Leistung
|
||||
if ($power > $maxleistung) {
|
||||
@@ -109,8 +110,8 @@ class Batterie extends IPSModule
|
||||
$array_powersteps = $this->GeneratePowerSteps();
|
||||
$aufdasnachladen =$this->ReadPropertyInteger("AufdasNachladen");
|
||||
$minimumentladen = $this->ReadPropertyInteger("MinimumEntladen");
|
||||
$batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand");
|
||||
$maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung");
|
||||
$batterieladezustand = $this->GetValue("Batterieladezustand");
|
||||
$maxleistung = $this->GetValue("MaxBatterieleistung");
|
||||
|
||||
if ($Peak) {
|
||||
if ($batterieladezustand <= $minimumentladen) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.217",
|
||||
"version": "0.218",
|
||||
|
||||
"build": 0,
|
||||
"date": 0
|
||||
|
||||
Reference in New Issue
Block a user