From 0bc965dc6ae0181d7ccfe1ed6355fcbd5a6f7ccc Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 15 Oct 2025 14:51:04 +0200 Subject: [PATCH] no message --- Batterie_Deye/module.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Batterie_Deye/module.php b/Batterie_Deye/module.php index 1686bb2..4a1a7a4 100644 --- a/Batterie_Deye/module.php +++ b/Batterie_Deye/module.php @@ -233,9 +233,9 @@ public function RequestAction($Ident, $Value) //$a = 2.54 * pow($V, 2) - 252 * $V + 6255.4; - if ($this->GetValue("Ladestrom") > 0 ) { + if (GetValue("Ladestrom") > 0 ) { $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) + 1; - }elseif ($this->GetValue("Entladedestrom") > 0) { + }elseif (GetValue("Entladedestrom") > 0) { $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) - 1; } else {