diff --git a/api.php b/api.php index fa04edc..c57ef80 100644 --- a/api.php +++ b/api.php @@ -226,6 +226,7 @@ if ($values != null || $values != "") { 'gateway' => $device['gateway'], ], 'state' => 'succes', + 'command' => "null", ]; $subDevicesTypeList = SubDeviceManager::getSubDeviceSTypeForMater($deviceId); @@ -261,7 +262,8 @@ if ($values != null || $values != "") { 'gateway' => $device['gateway'], ], 'state' => 'succes', - 'value' => $subDeviceLastReordValue + 'value' => $subDeviceLastReordValue, + 'command' => "null", )); header($_SERVER["SERVER_PROTOCOL"]." 200 OK"); }