homebridge-melcloud-control 4.8.0 → 4.8.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/index.js CHANGED
@@ -181,8 +181,7 @@ class MelCloudPlatform {
181
181
  deviceClass = new DeviceErv(api, account, device, presets, schedules, scenes, buttons, defaultTempsFile, melCloudClass, melCloudAccountData, melCloudDeviceData);
182
182
  break;
183
183
  default:
184
- if (logLevel.warn) log.warn(`${name}, ${deviceTypeString}, ${deviceName}, received unknown device type: ${deviceType}.`);
185
- return;
184
+ continue;
186
185
  }
187
186
 
188
187
  deviceClass.on('devInfo', (info) => logLevel.devInfo && log.info(info))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.8.0",
4
+ "version": "4.8.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -35,11 +35,11 @@
35
35
  "node": "^20 || ^22 || ^24 || ^25"
36
36
  },
37
37
  "dependencies": {
38
- "@homebridge/plugin-ui-utils": "^2.2.0",
38
+ "@homebridge/plugin-ui-utils": "^2.2.1",
39
39
  "mqtt": "^5.15.0",
40
- "axios": "^1.13.5",
40
+ "axios": "^1.13.6",
41
41
  "express": "^5.2.1",
42
- "puppeteer": "^24.37.5",
42
+ "puppeteer": "^24.38.0",
43
43
  "ws": "^8.19.0"
44
44
  },
45
45
  "keywords": [
package/src/deviceata.js CHANGED
@@ -1756,11 +1756,11 @@ class DeviceAta extends EventEmitter {
1756
1756
  }
1757
1757
 
1758
1758
  //other sensors
1759
- if (this.temperatureRoomSensor) this.roomTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, roomTemperature);
1760
- if (this.temperatureOutdoorSensor) this.outdoorTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, outdoorTemperature);
1761
- if (this.inStandbySensor) this.inStandbyService?.updateCharacteristic(Characteristic.ContactSensorState, inStandbyMode);
1762
- if (this.connectSensor) this.connectService?.updateCharacteristic(Characteristic.ContactSensorState, isConnected);
1763
- if (this.errorSensor) this.errorService?.updateCharacteristic(Characteristic.ContactSensorState, isInError);
1759
+ if (this.temperatureRoomSensor && roomTemperature != null) this.roomTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, roomTemperature);
1760
+ if (this.temperatureOutdoorSensor && outdoorTemperature != null) this.outdoorTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, outdoorTemperature);
1761
+ if (this.inStandbySensor && inStandbyMode != null) this.inStandbyService?.updateCharacteristic(Characteristic.ContactSensorState, inStandbyMode);
1762
+ if (this.connectSensor && isConnected != null) this.connectService?.updateCharacteristic(Characteristic.ContactSensorState, isConnected);
1763
+ if (this.errorSensor && isInError != null) this.errorService?.updateCharacteristic(Characteristic.ContactSensorState, isInError);
1764
1764
 
1765
1765
  //frost protection
1766
1766
  if (this.frostProtectionSupport && frostProtectionEnabled !== null) {
package/src/deviceatw.js CHANGED
@@ -2422,10 +2422,10 @@ class DeviceAtw extends EventEmitter {
2422
2422
  this.accessory = obj;
2423
2423
 
2424
2424
  //other sensors
2425
- if (this.temperatureOutdoorSensor) this.outdoorTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, outdoorTemperature);
2426
- if (this.inStandbySensor) this.inStandbyService?.updateCharacteristic(Characteristic.ContactSensorState, inStandbyMode);
2427
- if (this.connectSensor) this.connectService?.updateCharacteristic(Characteristic.ContactSensorState, isConnected);
2428
- if (this.errorSensor) this.errorService?.updateCharacteristic(Characteristic.ContactSensorState, isInError);
2425
+ if (this.temperatureOutdoorSensor && outdoorTemperature != null) this.outdoorTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, outdoorTemperature);
2426
+ if (this.inStandbySensor && inStandbyMode != null) this.inStandbyService?.updateCharacteristic(Characteristic.ContactSensorState, inStandbyMode);
2427
+ if (this.connectSensor && isConnected != null) this.connectService?.updateCharacteristic(Characteristic.ContactSensorState, isConnected);
2428
+ if (this.errorSensor && isInError != null) this.errorService?.updateCharacteristic(Characteristic.ContactSensorState, isInError);
2429
2429
 
2430
2430
  //frost protection
2431
2431
  if (this.frostProtectionSupport && frostProtectionEnabled !== null) {