@switchbot/homebridge-switchbot 2.2.2-beta.6 → 2.2.2-beta.8
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/dist/device/humidifier.d.ts.map +1 -1
- package/dist/device/humidifier.js +3 -0
- package/dist/device/humidifier.js.map +1 -1
- package/dist/irdevice/airconditioner.js +2 -2
- package/dist/irdevice/airconditioner.js.map +1 -1
- package/dist/irdevice/airpurifier.js +2 -2
- package/dist/irdevice/airpurifier.js.map +1 -1
- package/dist/irdevice/camera.js +2 -2
- package/dist/irdevice/camera.js.map +1 -1
- package/dist/irdevice/fan.js +2 -2
- package/dist/irdevice/fan.js.map +1 -1
- package/dist/irdevice/light.js +2 -2
- package/dist/irdevice/light.js.map +1 -1
- package/dist/irdevice/other.js +2 -2
- package/dist/irdevice/other.js.map +1 -1
- package/dist/irdevice/tv.js +2 -2
- package/dist/irdevice/tv.js.map +1 -1
- package/dist/irdevice/vacuumcleaner.js +2 -2
- package/dist/irdevice/vacuumcleaner.js.map +1 -1
- package/dist/irdevice/waterheater.js +2 -2
- package/dist/irdevice/waterheater.js.map +1 -1
- package/package.json +1 -1
- package/src/device/humidifier.ts +3 -0
- package/src/irdevice/airconditioner.ts +2 -2
- package/src/irdevice/airpurifier.ts +2 -2
- package/src/irdevice/camera.ts +2 -2
- package/src/irdevice/fan.ts +2 -2
- package/src/irdevice/light.ts +2 -2
- package/src/irdevice/other.ts +2 -2
- package/src/irdevice/tv.ts +2 -2
- package/src/irdevice/vacuumcleaner.ts +2 -2
- package/src/irdevice/waterheater.ts +2 -2
package/src/irdevice/light.ts
CHANGED
|
@@ -204,9 +204,9 @@ export class Light {
|
|
|
204
204
|
|
|
205
205
|
async allowPushOffChanges({ device }: { device: irdevice & irDevicesConfig; }): Promise<void> {
|
|
206
206
|
if (device.allowPushOff) {
|
|
207
|
-
this.
|
|
207
|
+
this.allowPushOff = true;
|
|
208
208
|
} else {
|
|
209
|
-
this.
|
|
209
|
+
this.allowPushOff = false;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
package/src/irdevice/other.ts
CHANGED
|
@@ -201,9 +201,9 @@ export class Others {
|
|
|
201
201
|
|
|
202
202
|
async allowPushOffChanges({ device }: { device: irdevice & irDevicesConfig; }): Promise<void> {
|
|
203
203
|
if (device.allowPushOff) {
|
|
204
|
-
this.
|
|
204
|
+
this.allowPushOff = true;
|
|
205
205
|
} else {
|
|
206
|
-
this.
|
|
206
|
+
this.allowPushOff = false;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
|
package/src/irdevice/tv.ts
CHANGED
|
@@ -419,9 +419,9 @@ export class TV {
|
|
|
419
419
|
|
|
420
420
|
async allowPushOffChanges({ device }: { device: irdevice & irDevicesConfig; }): Promise<void> {
|
|
421
421
|
if (device.allowPushOff) {
|
|
422
|
-
this.
|
|
422
|
+
this.allowPushOff = true;
|
|
423
423
|
} else {
|
|
424
|
-
this.
|
|
424
|
+
this.allowPushOff = false;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
|
|
@@ -182,9 +182,9 @@ export class VacuumCleaner {
|
|
|
182
182
|
|
|
183
183
|
async allowPushOffChanges({ device }: { device: irdevice & irDevicesConfig; }): Promise<void> {
|
|
184
184
|
if (device.allowPushOff) {
|
|
185
|
-
this.
|
|
185
|
+
this.allowPushOff = true;
|
|
186
186
|
} else {
|
|
187
|
-
this.
|
|
187
|
+
this.allowPushOff = false;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -190,9 +190,9 @@ export class WaterHeater {
|
|
|
190
190
|
|
|
191
191
|
async allowPushOffChanges({ device }: { device: irdevice & irDevicesConfig; }): Promise<void> {
|
|
192
192
|
if (device.allowPushOff) {
|
|
193
|
-
this.
|
|
193
|
+
this.allowPushOff = true;
|
|
194
194
|
} else {
|
|
195
|
-
this.
|
|
195
|
+
this.allowPushOff = false;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|