@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.
- package/.github/npm-version-script.js +81 -0
- package/dist/device/bot.d.ts.map +1 -1
- package/dist/device/bot.js +0 -3
- package/dist/device/bot.js.map +1 -1
- package/dist/device/ceilinglight.d.ts.map +1 -1
- package/dist/device/ceilinglight.js +0 -3
- package/dist/device/ceilinglight.js.map +1 -1
- package/dist/device/colorbulb.d.ts.map +1 -1
- package/dist/device/colorbulb.js +0 -3
- package/dist/device/colorbulb.js.map +1 -1
- package/dist/device/contact.d.ts.map +1 -1
- package/dist/device/contact.js +0 -3
- package/dist/device/contact.js.map +1 -1
- package/dist/device/curtain.d.ts.map +1 -1
- package/dist/device/curtain.js +0 -3
- package/dist/device/curtain.js.map +1 -1
- package/dist/device/humidifier.js +3 -3
- package/dist/device/humidifier.js.map +1 -1
- package/dist/device/lock.d.ts.map +1 -1
- package/dist/device/lock.js +0 -3
- package/dist/device/lock.js.map +1 -1
- package/dist/device/meter.d.ts.map +1 -1
- package/dist/device/meter.js +0 -3
- package/dist/device/meter.js.map +1 -1
- package/dist/device/meterplus.d.ts.map +1 -1
- package/dist/device/meterplus.js +0 -3
- package/dist/device/meterplus.js.map +1 -1
- package/dist/device/motion.d.ts.map +1 -1
- package/dist/device/motion.js +0 -3
- package/dist/device/motion.js.map +1 -1
- package/dist/device/plug.d.ts.map +1 -1
- package/dist/device/plug.js +0 -3
- package/dist/device/plug.js.map +1 -1
- package/dist/device/striplight.d.ts.map +1 -1
- package/dist/device/striplight.js +0 -3
- package/dist/device/striplight.js.map +1 -1
- package/package.json +1 -1
- package/src/device/bot.ts +0 -3
- package/src/device/ceilinglight.ts +0 -3
- package/src/device/colorbulb.ts +0 -3
- package/src/device/contact.ts +0 -3
- package/src/device/curtain.ts +0 -3
- package/src/device/humidifier.ts +3 -3
- package/src/device/lock.ts +0 -3
- package/src/device/meter.ts +0 -3
- package/src/device/meterplus.ts +0 -3
- package/src/device/motion.ts +0 -3
- package/src/device/plug.ts +0 -3
- package/src/device/striplight.ts +0 -3
package/src/device/lock.ts
CHANGED
|
@@ -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
|
|
package/src/device/meter.ts
CHANGED
|
@@ -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
|
|
package/src/device/meterplus.ts
CHANGED
|
@@ -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
|
|
package/src/device/motion.ts
CHANGED
|
@@ -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
|
|
package/src/device/plug.ts
CHANGED
|
@@ -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
|
|
package/src/device/striplight.ts
CHANGED
|
@@ -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
|
|