From 967f34e2df3ea7c0596e28b8d4684657b3d34f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 25 Feb 2025 16:41:24 +0100 Subject: [PATCH] =?UTF-8?q?=C3=9Cberlegungsfehler,=20alles=20nochmal=20inv?= =?UTF-8?q?ertiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Batterie/module.php | 12 ++++++------ library.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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