no message
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user