no message
This commit is contained in:
@@ -175,7 +175,7 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
if ((int)$soc == $targetSoC) {
|
if ((int)$soc == $targetSoC) {
|
||||||
|
|
||||||
RequestAction($reqActionID, 0);
|
SetValue($reqActionID, 0);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -186,7 +186,7 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
if ($soc < $targetSoC) {
|
if ($soc < $targetSoC) {
|
||||||
|
|
||||||
RequestAction(
|
SetValue(
|
||||||
$reqActionID,
|
$reqActionID,
|
||||||
abs($chargePower)
|
abs($chargePower)
|
||||||
);
|
);
|
||||||
@@ -200,7 +200,7 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
if ($soc > $targetSoC) {
|
if ($soc > $targetSoC) {
|
||||||
|
|
||||||
RequestAction(
|
SetValue(
|
||||||
$reqActionID,
|
$reqActionID,
|
||||||
abs($dischargePower) * -1
|
abs($dischargePower) * -1
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user