From c67878c9747a8539d56483cba68e3453f061a861 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 24 Feb 2025 15:54:28 +0100 Subject: [PATCH] evt fehler behoben --- Batterie/module.php | 8 ++++---- library.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index 1c0753a..9639a60 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -109,11 +109,11 @@ public function RequestAction($Ident, $Value) if ($power >= 0) { - SetValue($this->GetIDForIdent("Ladeleistung"), $power); - SetValue($this->GetIDForIdent("Entladeleistung"), 0); + $this->SetValue("Ladeleistung", $power); + $this->SetValue("Entladeleistung", 0); } else { - SetValue($this->GetIDForIdent("Entladeleistung"), abs($power)); - SetValue($this->GetIDForIdent("Ladeleistung"), 0); + $this->SetValue("Entladeleistung", abs($power)); + $this->SetValue("Ladeleistung", 0); } diff --git a/library.json b/library.json index 17e797a..c7bd9cf 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.068", + "version": "1.069", "build": 0, "date": 0 } \ No newline at end of file