eufy-security-client 3.8.0-dev.11 → 3.8.0-dev.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,7 +79,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
79
79
  static isLockWifiT8502(type: number): boolean;
80
80
  static isLockWifiT8510P(type: number, serialnumber: string): boolean;
81
81
  static isLockWifiT8520P(type: number, serialnumber: string): boolean;
82
- static isLockWifiT85V0(type: number, serialnumber: string): boolean;
82
+ static isLockWifiT85V0(type: number): boolean;
83
83
  static isLockWifiT85L0(type: number): boolean;
84
84
  static isBatteryDoorbell1(type: number): boolean;
85
85
  static isBatteryDoorbell2(type: number): boolean;
@@ -1954,7 +1954,7 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
1954
1954
  Device.isLockWifiR20(type) ||
1955
1955
  Device.isLockWifiVideo(type) ||
1956
1956
  Device.isLockWifiT8506(type) ||
1957
- Device.isLockWifiT85V0(type, "") ||
1957
+ Device.isLockWifiT85V0(type) ||
1958
1958
  Device.isLockWifiT8502(type) ||
1959
1959
  Device.isLockWifiT85L0(type) ||
1960
1960
  Device.isLockWifiT8531(type) ||
@@ -2021,13 +2021,8 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
2021
2021
  return true;
2022
2022
  return false;
2023
2023
  }
2024
- static isLockWifiT85V0(type, serialnumber) {
2025
- if (type == types_1.DeviceType.LOCK_85V0 &&
2026
- serialnumber.startsWith("T85V0") &&
2027
- serialnumber.length > 6 &&
2028
- serialnumber.charAt(6) === "9")
2029
- return true;
2030
- return false;
2024
+ static isLockWifiT85V0(type) {
2025
+ return types_1.DeviceType.LOCK_85V0 == type;
2031
2026
  }
2032
2027
  static isLockWifiT85L0(type) {
2033
2028
  return types_1.DeviceType.LOCK_85L0 == type;
@@ -2381,7 +2376,7 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
2381
2376
  return Device.isLockWifiT8531(this.rawDevice.device_type);
2382
2377
  }
2383
2378
  isLockWifiT85V0() {
2384
- return Device.isLockWifiT85V0(this.rawDevice.device_type, this.rawDevice.device_sn);
2379
+ return Device.isLockWifiT85V0(this.rawDevice.device_type);
2385
2380
  }
2386
2381
  isLockWifiT85L0() {
2387
2382
  return Device.isLockWifiT85L0(this.rawDevice.device_type);