eufy-security-client 3.8.0-dev.17 → 3.8.0-dev.19

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.
@@ -2454,7 +2454,8 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
2454
2454
  device_1.Device.isLockWifiT8520P(this.rawStation.devices[0]?.device_type, this.rawStation.devices[0]?.device_sn) ||
2455
2455
  device_1.Device.isLockWifiT85V0(this.rawStation.devices[0]?.device_type) ||
2456
2456
  device_1.Device.isLockWifiT8531(this.rawStation.devices[0]?.device_type) ||
2457
- device_1.Device.isLockWifiT85L0(this.rawStation.devices[0]?.device_type)) {
2457
+ device_1.Device.isLockWifiT85L0(this.rawStation.devices[0]?.device_type) ||
2458
+ device_1.Device.isLockWifiT85P0(this.rawStation.devices[0]?.device_type)) {
2458
2459
  this.emit("sequence error", message.channel, types_1.SmartLockCommand[payload.bus_type == types_1.SmartLockFunctionType.TYPE_2
2459
2460
  ? types_1.SmartLockBleCommandFunctionType2[payload.lock_cmd]
2460
2461
  : types_1.SmartLockBleCommandFunctionType1[payload.lock_cmd]], payload.seq_num, payload.dev_sn);
@@ -2863,6 +2864,13 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
2863
2864
  this.emit("garage door status", message.channel, payload.door_id, payload.type);
2864
2865
  }
2865
2866
  }
2867
+ else if (json.cmd === types_1.CommandType.CMD_STORAGE_INFO_HB3) {
2868
+ const payload = json.payload;
2869
+ logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD StorageInfo HB3 update`, { stationSN: this.rawStation.station_sn, body: payload?.body });
2870
+ if (payload) {
2871
+ this.emit("storage info hb3", message.channel, payload.body);
2872
+ }
2873
+ }
2866
2874
  else if (json.cmd === 6246) {
2867
2875
  const payload = json.payload;
2868
2876
  logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD Livestream status`, { stationSN: this.rawStation.station_sn, payload: payload });