no message

This commit is contained in:
2026-06-01 13:56:12 +02:00
parent 8a591ab1c7
commit d1434b0977
+3 -2
View File
@@ -142,11 +142,12 @@ class MQTTBatterySDL extends IPSModule
$dischargePower = $this->ReadPropertyInteger('DischargePower');
$minSoC = GetValue($this->GetIDForIdent('MinSoC'));
$maxSoC = GetValue($this->GetIDForIdent('MaxSoC'));
// -------------------------------------------------
// Grenz Soc's
// -------------------------------------------------
if (($soc <= 4 || $soc >= 95) && $strategy != "restore") {
if (($soc <= $minSoC || $soc >= $maxSoC) && $strategy != "restore") {
SetValue(
$reqActionID,