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