diff --git a/starCloud.js b/starCloud.js index 2b732b6..44202ce 100644 --- a/starCloud.js +++ b/starCloud.js @@ -1986,21 +1986,6 @@ export const useStarCloudStore = defineStore('starCloud', { } characteristicValueCallback(new Result(decrypted[6], { lock: this.lockInfo })) break - case cmdIds.resetDevice: - this.updateLockInfo({ - token: decrypted.slice(2, 6), - electricQuantity: decrypted[7], - electricQuantityStandby: decrypted[9] - }) - if (decrypted[6] === Result.Success.code) { - updateElectricQuantityRequest({ - lockId: this.lockInfo.lockId, - electricQuantity: decrypted[7], - electricQuantityStandby: decrypted[9] - }) - } - characteristicValueCallback(new Result(decrypted[6], { lock: this.lockInfo })) - break case cmdIds.resetDevice: this.updateLockInfo({ token: decrypted.slice(2, 6)