eufy-security-client 3.8.0-dev.22 → 3.8.0-dev.24

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.
@@ -53,9 +53,12 @@ export declare class Station extends TypedEmitter<StationEvents> {
53
53
  static isStationHomeBaseMini(type: number): boolean;
54
54
  static isStationHomeBase3BySn(sn: string): boolean;
55
55
  static isStationHomeBaseMiniBySn(sn: string): boolean;
56
+ static isStationMiniBaseChime(type: number): boolean;
57
+ static isStationMiniBaseChimeBySn(sn: string): boolean;
56
58
  isStationHomeBase2OrOlder(): boolean;
57
59
  isStationHomeBase3(): boolean;
58
60
  isStationHomeBaseMini(): boolean;
61
+ isStationMiniBaseChime(): boolean;
59
62
  /**
60
63
  * Checks if the station is a HomeBase 3 or HomeBase mini for determining if SoloDevices are connected to a supported HomeBase.
61
64
  * @returns Returns true, if this is a HomeBase 3 or a HomeBase mini, otherwise false.
@@ -582,6 +582,12 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
582
582
  static isStationHomeBaseMiniBySn(sn) {
583
583
  return sn.startsWith("T8025");
584
584
  }
585
+ static isStationMiniBaseChime(type) {
586
+ return type === types_1.DeviceType.MINIBASE_CHIME;
587
+ }
588
+ static isStationMiniBaseChimeBySn(sn) {
589
+ return sn.startsWith("T8023");
590
+ }
585
591
  isStationHomeBase2OrOlder() {
586
592
  return Station.isStationHomeBase2OrOlder(this.rawStation.device_type);
587
593
  }
@@ -591,6 +597,9 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
591
597
  isStationHomeBaseMini() {
592
598
  return Station.isStationHomeBaseMini(this.rawStation.device_type);
593
599
  }
600
+ isStationMiniBaseChime() {
601
+ return Station.isStationMiniBaseChime(this.rawStation.device_type);
602
+ }
594
603
  /**
595
604
  * Checks if the station is a HomeBase 3 or HomeBase mini for determining if SoloDevices are connected to a supported HomeBase.
596
605
  * @returns Returns true, if this is a HomeBase 3 or a HomeBase mini, otherwise false.
@@ -6617,8 +6626,8 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
6617
6626
  });
6618
6627
  }
6619
6628
  else if (device.isOutdoorPanAndTiltCamera() ||
6620
- device.isBatteryDoorbellDualE340() ||
6621
6629
  device.isFloodLightT8425() ||
6630
+ (device.isBatteryDoorbellDualE340() && !this.isStationMiniBaseChime()) ||
6622
6631
  ((device.isIndoorPTCameraE30() || device.isIndoorCameraBase()) && this.isDeviceControlledByHomeBase())) {
6623
6632
  logging_1.rootHTTPLogger.debug(`Station start livestream - sending command using CMD_DOORBELL_SET_PAYLOAD (1)`, {
6624
6633
  stationSN: this.getSerial(),