no message
This commit is contained in:
@@ -146,7 +146,7 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
if ($strategy == 'activate') {
|
if ($strategy == 'activate') {
|
||||||
|
|
||||||
RequestAction(
|
SetValue(
|
||||||
$reqActionID,
|
$reqActionID,
|
||||||
$setpoint * -1
|
$setpoint * -1
|
||||||
);
|
);
|
||||||
@@ -160,7 +160,7 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
if ($strategy == 'stop') {
|
if ($strategy == 'stop') {
|
||||||
|
|
||||||
RequestAction($reqActionID, 0);
|
SetValue($reqActionID, 0);
|
||||||
|
|
||||||
if ($this->IsValidVariable($powerProductionID)) {
|
if ($this->IsValidVariable($powerProductionID)) {
|
||||||
SetValue($powerProductionID, 0);
|
SetValue($powerProductionID, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user