hoffmation-base 2.22.17 → 2.22.18

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.
@@ -138,11 +138,15 @@ class OwnDaikinDevice extends ac_device_1.AcDevice {
138
138
  }
139
139
  handleDeviceUnreach() {
140
140
  this.log(models_1.LogLevel.Warn, `Detected EHOSTUNREACH for ${this.name}(${this.ip}), will try reconecting`);
141
- daikin_service_1.DaikinService.reconnect(this.name, this.ip).then((device) => {
141
+ daikin_service_1.DaikinService.reconnect(this.name, this.ip)
142
+ .then((device) => {
142
143
  this.device = device;
143
144
  utils_1.Utils.guardedTimeout(() => {
144
145
  this.setDesiredInfo(true);
145
146
  }, 5000, this);
147
+ })
148
+ .catch((err) => {
149
+ this.log(models_1.LogLevel.Error, `Reconnecting failed for ${this.name}(${this.ip}): ${err}`);
146
150
  });
147
151
  }
148
152
  handleParamNg(changeObject) {