@switchbot/homebridge-switchbot 2.4.0-beta.2 → 2.4.0-beta.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.
- package/CHANGELOG.md +2 -2
- package/config.schema.json +2 -2
- package/dist/device/ceilinglight.d.ts.map +1 -1
- package/dist/device/ceilinglight.js +3 -0
- package/dist/device/ceilinglight.js.map +1 -1
- package/dist/device/colorbulb.d.ts.map +1 -1
- package/dist/device/colorbulb.js +3 -0
- package/dist/device/colorbulb.js.map +1 -1
- package/dist/device/plug.d.ts.map +1 -1
- package/dist/device/plug.js +3 -0
- package/dist/device/plug.js.map +1 -1
- package/dist/device/robotvacuumcleaner.d.ts.map +1 -1
- package/dist/device/robotvacuumcleaner.js +3 -0
- package/dist/device/robotvacuumcleaner.js.map +1 -1
- package/dist/device/striplight.d.ts.map +1 -1
- package/dist/device/striplight.js +3 -0
- package/dist/device/striplight.js.map +1 -1
- package/package.json +1 -1
- package/src/device/ceilinglight.ts +3 -0
- package/src/device/colorbulb.ts +3 -0
- package/src/device/plug.ts +3 -0
- package/src/device/robotvacuumcleaner.ts +3 -0
- package/src/device/striplight.ts +3 -0
|
@@ -1144,6 +1144,9 @@ export class CeilingLight {
|
|
|
1144
1144
|
if (device.offline !== undefined) {
|
|
1145
1145
|
config['offline'] = device.offline;
|
|
1146
1146
|
}
|
|
1147
|
+
if (device.maxRetry !== undefined) {
|
|
1148
|
+
config['maxRetry'] = device.maxRetry;
|
|
1149
|
+
}
|
|
1147
1150
|
if (Object.entries(config).length !== 0) {
|
|
1148
1151
|
this.infoLog(`${this.device.deviceType}: ${this.accessory.displayName} Config: ${superStringify(config)}`);
|
|
1149
1152
|
}
|
package/src/device/colorbulb.ts
CHANGED
|
@@ -1301,6 +1301,9 @@ export class ColorBulb {
|
|
|
1301
1301
|
if (device.offline !== undefined) {
|
|
1302
1302
|
config['offline'] = device.offline;
|
|
1303
1303
|
}
|
|
1304
|
+
if (device.maxRetry !== undefined) {
|
|
1305
|
+
config['maxRetry'] = device.maxRetry;
|
|
1306
|
+
}
|
|
1304
1307
|
if (Object.entries(config).length !== 0) {
|
|
1305
1308
|
this.infoLog(`${this.device.deviceType}: ${this.accessory.displayName} Config: ${superStringify(config)}`);
|
|
1306
1309
|
}
|
package/src/device/plug.ts
CHANGED
|
@@ -673,6 +673,9 @@ export class Plug {
|
|
|
673
673
|
if (device.offline !== undefined) {
|
|
674
674
|
config['offline'] = device.offline;
|
|
675
675
|
}
|
|
676
|
+
if (device.maxRetry !== undefined) {
|
|
677
|
+
config['maxRetry'] = device.maxRetry;
|
|
678
|
+
}
|
|
676
679
|
if (Object.entries(config).length !== 0) {
|
|
677
680
|
this.infoLog(`${this.device.deviceType}: ${this.accessory.displayName} Config: ${superStringify(config)}`);
|
|
678
681
|
}
|
|
@@ -802,6 +802,9 @@ export class RobotVacuumCleaner {
|
|
|
802
802
|
if (device.offline !== undefined) {
|
|
803
803
|
config['offline'] = device.offline;
|
|
804
804
|
}
|
|
805
|
+
if (device.maxRetry !== undefined) {
|
|
806
|
+
config['maxRetry'] = device.maxRetry;
|
|
807
|
+
}
|
|
805
808
|
if (Object.entries(config).length !== 0) {
|
|
806
809
|
this.infoLog(`${this.device.deviceType}: ${this.accessory.displayName} Config: ${superStringify(config)}`);
|
|
807
810
|
}
|
package/src/device/striplight.ts
CHANGED
|
@@ -1074,6 +1074,9 @@ export class StripLight {
|
|
|
1074
1074
|
if (device.offline !== undefined) {
|
|
1075
1075
|
config['offline'] = device.offline;
|
|
1076
1076
|
}
|
|
1077
|
+
if (device.maxRetry !== undefined) {
|
|
1078
|
+
config['maxRetry'] = device.maxRetry;
|
|
1079
|
+
}
|
|
1077
1080
|
if (Object.entries(config).length !== 0) {
|
|
1078
1081
|
this.infoLog(`${this.device.deviceType}: ${this.accessory.displayName} Config: ${superStringify(config)}`);
|
|
1079
1082
|
}
|