From 275e9a87d24f36400c5ba35b1c48e4cc063af294 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 24 Feb 2025 14:04:08 +0100 Subject: [PATCH] syntax fehler --- Batterie/module.php | 2 +- library.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index fddb7b6..c95e5c2 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -91,7 +91,7 @@ public function RequestAction($Ident, $Value) public function SetAktuelle_Leistung(int $power) { - / + if ($power >= 0){ SetValue($this->ReadPropertyFloat("Ladeleistung"), $power); SetValue($this->ReadPropertyFloat("Entladeleistung"),0); diff --git a/library.json b/library.json index 04d2c62..dcc9710 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.065", + "version": "1.066", "build": 0, "date": 0 } \ No newline at end of file