From 776c24acd8d8f80bf0eff393e56f904a0d986195 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Thu, 16 Oct 2025 13:38:52 +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 8ac5700..7017bed 100644 --- a/Batterie_Deye/module.php +++ b/Batterie_Deye/module.php @@ -236,9 +236,9 @@ public function RequestAction($Ident, $Value) $entadestrom_1 = $this->GetValue("Entladedestrom"); if ($ladestrom_1 > 0 ) { - $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) + 1; - }elseif ($entadestrom_1 > 0) { $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) - 1; + }elseif ($entadestrom_1 > 0) { + $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) + 1; } else { $V = GetValue($this->ReadPropertyInteger("Batteriespannung"));