@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.
@@ -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
  }
@@ -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
  }
@@ -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
  }
@@ -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
  }