@@ -663,7 +663,7 @@
Api.setControl({
identifier: identifier,
action: 0,
- value: val? 1 : 0,
+ value: val? 0 : 1,
deviceId: deviceId,
}).then((res) => {
if (res.data.code == 0) {