@switchbot/homebridge-switchbot 1.12.3-beta.3 → 1.12.3

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.
@@ -217,7 +217,7 @@ export class Motion {
217
217
  .deviceId!.match(/.{1,2}/g)!
218
218
  .join(':')
219
219
  .toLowerCase();
220
- this.debugLog(`Curtain: ${this.accessory.displayName} BLE Address: ${this.device.bleMac}`);
220
+ this.debugLog(`Motion Sensor: ${this.accessory.displayName} BLE Address: ${this.device.bleMac}`);
221
221
  // Start to monitor advertisement packets
222
222
  if (switchbot !== false) {
223
223
  switchbot
@@ -168,7 +168,6 @@ export class Plug {
168
168
  this.accessory.context.On = this.OnCached;
169
169
  }
170
170
  interval(5000)
171
- .pipe(skipWhile(() => this.plugUpdateInProgress))
172
171
  .pipe(take(1))
173
172
  .subscribe(async () => {
174
173
  await this.refreshStatus();