@switchbot/homebridge-switchbot 2.1.2 → 2.1.3-beta.1

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.
Files changed (49) hide show
  1. package/.github/npm-version-script.js +81 -0
  2. package/dist/device/bot.d.ts.map +1 -1
  3. package/dist/device/bot.js +0 -3
  4. package/dist/device/bot.js.map +1 -1
  5. package/dist/device/ceilinglight.d.ts.map +1 -1
  6. package/dist/device/ceilinglight.js +0 -3
  7. package/dist/device/ceilinglight.js.map +1 -1
  8. package/dist/device/colorbulb.d.ts.map +1 -1
  9. package/dist/device/colorbulb.js +0 -3
  10. package/dist/device/colorbulb.js.map +1 -1
  11. package/dist/device/contact.d.ts.map +1 -1
  12. package/dist/device/contact.js +0 -3
  13. package/dist/device/contact.js.map +1 -1
  14. package/dist/device/curtain.d.ts.map +1 -1
  15. package/dist/device/curtain.js +0 -3
  16. package/dist/device/curtain.js.map +1 -1
  17. package/dist/device/humidifier.js +3 -3
  18. package/dist/device/humidifier.js.map +1 -1
  19. package/dist/device/lock.d.ts.map +1 -1
  20. package/dist/device/lock.js +0 -3
  21. package/dist/device/lock.js.map +1 -1
  22. package/dist/device/meter.d.ts.map +1 -1
  23. package/dist/device/meter.js +0 -3
  24. package/dist/device/meter.js.map +1 -1
  25. package/dist/device/meterplus.d.ts.map +1 -1
  26. package/dist/device/meterplus.js +0 -3
  27. package/dist/device/meterplus.js.map +1 -1
  28. package/dist/device/motion.d.ts.map +1 -1
  29. package/dist/device/motion.js +0 -3
  30. package/dist/device/motion.js.map +1 -1
  31. package/dist/device/plug.d.ts.map +1 -1
  32. package/dist/device/plug.js +0 -3
  33. package/dist/device/plug.js.map +1 -1
  34. package/dist/device/striplight.d.ts.map +1 -1
  35. package/dist/device/striplight.js +0 -3
  36. package/dist/device/striplight.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/device/bot.ts +0 -3
  39. package/src/device/ceilinglight.ts +0 -3
  40. package/src/device/colorbulb.ts +0 -3
  41. package/src/device/contact.ts +0 -3
  42. package/src/device/curtain.ts +0 -3
  43. package/src/device/humidifier.ts +3 -3
  44. package/src/device/lock.ts +0 -3
  45. package/src/device/meter.ts +0 -3
  46. package/src/device/meterplus.ts +0 -3
  47. package/src/device/motion.ts +0 -3
  48. package/src/device/plug.ts +0 -3
  49. package/src/device/striplight.ts +0 -3
@@ -492,10 +492,7 @@ export class Lock {
492
492
  async offlineOff(): Promise<void> {
493
493
  if (this.device.offline) {
494
494
  await this.context();
495
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
496
495
  await this.updateHomeKitCharacteristics();
497
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
498
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
499
496
  }
500
497
  }
501
498
 
@@ -569,10 +569,7 @@ export class Meter {
569
569
  async offlineOff(): Promise<void> {
570
570
  if (this.device.offline) {
571
571
  await this.context();
572
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
573
572
  await this.updateHomeKitCharacteristics();
574
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
575
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
576
573
  }
577
574
  }
578
575
 
@@ -578,10 +578,7 @@ export class MeterPlus {
578
578
  async offlineOff(): Promise<void> {
579
579
  if (this.device.offline) {
580
580
  await this.context();
581
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
582
581
  await this.updateHomeKitCharacteristics();
583
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
584
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
585
582
  }
586
583
  }
587
584
 
@@ -487,10 +487,7 @@ export class Motion {
487
487
  async offlineOff(): Promise<void> {
488
488
  if (this.device.offline) {
489
489
  await this.context();
490
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
491
490
  await this.updateHomeKitCharacteristics();
492
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
493
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
494
491
  }
495
492
  }
496
493
 
@@ -601,10 +601,7 @@ export class Plug {
601
601
  async offlineOff(): Promise<void> {
602
602
  if (this.device.offline) {
603
603
  await this.context();
604
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
605
604
  await this.updateHomeKitCharacteristics();
606
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
607
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
608
605
  }
609
606
  }
610
607
 
@@ -956,10 +956,7 @@ export class StripLight {
956
956
  async offlineOff(): Promise<void> {
957
957
  if (this.device.offline) {
958
958
  await this.context();
959
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} offline context: ${superStringify(this.context)}`);
960
959
  await this.updateHomeKitCharacteristics();
961
- this.debugWarnLog(`${this.device.deviceType}: ${this.accessory.displayName} `
962
- + `offline updateHomeKitCharacteristics: ${superStringify(this.updateHomeKitCharacteristics)}`);
963
960
  }
964
961
  }
965
962