diff --git a/Batterie/module.php b/Batterie/module.php index 56e304a..7c916a9 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -117,12 +117,12 @@ public function RequestAction($Ident, $Value) }else{ if ($power >= 0) { - $this->SetValue("Ladeleistung", $power); - $this->SetValue("Entladeleistung", 0); + $this->SetValue("Entladeleistung", $power); + $this->SetValue("Ladeleistung", 0); $this->SetValue("Laden3_Entladen4", 4); } else { - $this->SetValue("Entladeleistung", abs($power)); - $this->SetValue("Ladeleistung", 0); + $this->SetValue("Ladeleistung", abs($power)); + $this->SetValue("Entladeleistung", 0); $this->SetValue("Laden3_Entladen4", 3); } diff --git a/library.json b/library.json index c99489d..47688f3 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.084", + "version": "1.085", "build": 0, "date": 0 } \ No newline at end of file