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