From 0d2cf0cc8a76e11020b9bf7366604f6592cf4746 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 26 May 2026 14:30:01 +0200 Subject: [PATCH] no message --- MQTTBatterySDL/module.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MQTTBatterySDL/module.php b/MQTTBatterySDL/module.php index 26f188a..8f27fa8 100644 --- a/MQTTBatterySDL/module.php +++ b/MQTTBatterySDL/module.php @@ -175,7 +175,7 @@ class MQTTBatterySDL extends IPSModule if ((int)$soc == $targetSoC) { - RequestAction($reqActionID, 0); + SetValue($reqActionID, 0); return; } @@ -186,7 +186,7 @@ class MQTTBatterySDL extends IPSModule if ($soc < $targetSoC) { - RequestAction( + SetValue( $reqActionID, abs($chargePower) ); @@ -200,7 +200,7 @@ class MQTTBatterySDL extends IPSModule if ($soc > $targetSoC) { - RequestAction( + SetValue( $reqActionID, abs($dischargePower) * -1 );