eufy-security-client 3.8.0-dev.12 → 3.8.0-dev.14

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.
@@ -100,7 +100,7 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
100
100
  !device_1.Device.isLockWifiT8510P(stationData.device_type, stationData.station_sn) &&
101
101
  !device_1.Device.isLockWifiT8520P(stationData.device_type, stationData.station_sn) &&
102
102
  !device_1.Device.isLockWifiT85L0(stationData.device_type) &&
103
- !device_1.Device.isLockWifiT85V0(stationData.device_type, stationData.station_sn)) {
103
+ !device_1.Device.isLockWifiT85V0(stationData.device_type)) {
104
104
  publicKey = await api.getPublicKey(stationData.station_sn, types_1.PublicKeyType.LOCK);
105
105
  }
106
106
  return new Station(api, stationData, ipAddress, listeningPort, publicKey, enableEmbeddedPKCS1Support);
@@ -407,8 +407,7 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
407
407
  if (property.name === types_1.PropertyName.Model && device_1.Device.isLockWifiT8510P(this.getDeviceType(), this.getSerial())) {
408
408
  return "T8510P";
409
409
  }
410
- else if (property.name === types_1.PropertyName.Model &&
411
- device_1.Device.isLockWifiT85V0(this.getDeviceType(), this.getSerial())) {
410
+ else if (property.name === types_1.PropertyName.Model && device_1.Device.isLockWifiT85V0(this.getDeviceType())) {
412
411
  return "T85V0";
413
412
  }
414
413
  else if (property.type === "number") {
@@ -15475,7 +15474,7 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
15475
15474
  device_1.Device.isLockWifiT8502(this.getDeviceType()) ||
15476
15475
  device_1.Device.isLockWifiT8510P(this.getDeviceType(), this.getSerial()) ||
15477
15476
  device_1.Device.isLockWifiT8520P(this.getDeviceType(), this.getSerial()) ||
15478
- device_1.Device.isLockWifiT85V0(this.getDeviceType(), this.getSerial()) ||
15477
+ device_1.Device.isLockWifiT85V0(this.getDeviceType()) ||
15479
15478
  device_1.Device.isLockWifiT85L0(this.getDeviceType())) {
15480
15479
  logging_1.rootHTTPLogger.debug(`Station smart lock send get lock parameters command`, { stationSN: this.getSerial() });
15481
15480
  const command = (0, utils_2.getSmartLockP2PCommand)(this.rawStation.station_sn, this.rawStation.member.admin_user_id, types_2.SmartLockCommand.GET_LOCK_PARAM, 0, this.p2pSession.incLockSequenceNumber(), device_1.Lock.encodeCmdSmartLockGetParams(this.rawStation.member.admin_user_id));
@@ -15493,7 +15492,7 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
15493
15492
  device_1.Device.isLockWifiT8502(this.getDeviceType()) ||
15494
15493
  device_1.Device.isLockWifiT8510P(this.getDeviceType(), this.getSerial()) ||
15495
15494
  device_1.Device.isLockWifiT8520P(this.getDeviceType(), this.getSerial()) ||
15496
- device_1.Device.isLockWifiT85V0(this.getDeviceType(), this.getSerial()) ||
15495
+ device_1.Device.isLockWifiT85V0(this.getDeviceType()) ||
15497
15496
  device_1.Device.isLockWifiT85L0(this.getDeviceType())) {
15498
15497
  logging_1.rootHTTPLogger.debug(`Station smart lock send get lock status command`, { stationSN: this.getSerial() });
15499
15498
  const command = (0, utils_2.getSmartLockP2PCommand)(this.rawStation.station_sn, this.rawStation.member.admin_user_id, types_2.SmartLockCommand.QUERY_STATUS_IN_LOCK, 0, this.p2pSession.incLockSequenceNumber(), device_1.Lock.encodeCmdSmartLockStatus(this.rawStation.member.admin_user_id));