|
@@ -127,7 +127,7 @@ const handleFullStartStatusSwitch = () => {
|
|
|
handleRequest(async () => {
|
|
|
await updateAIStartStopData({
|
|
|
deviceId: device.deviceId,
|
|
|
- status: !device.startStatus,
|
|
|
+ status: device.startStatus ? 0 : 1,
|
|
|
startType: currentModeType.value,
|
|
|
});
|
|
|
});
|
|
@@ -146,7 +146,7 @@ const handleStartStatusSwitch = (device: AIStartStopDeviceItem) => {
|
|
|
handleRequest(async () => {
|
|
|
await updateAIStartStopData({
|
|
|
deviceId: device.deviceId,
|
|
|
- status: !device.startStatus,
|
|
|
+ status: device.startStatus ? 0 : 1,
|
|
|
startType: currentModeType.value,
|
|
|
});
|
|
|
});
|