homebridge-melcloud-control 3.3.21 → 3.3.22

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.3.21",
4
+ "version": "3.3.22",
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,7 +35,7 @@
35
35
  "@homebridge/plugin-ui-utils": "^1.0.3",
36
36
  "async-mqtt": "^2.6.3",
37
37
  "axios": "^1.7.7",
38
- "express": "^4.21.0"
38
+ "express": "^4.21.1"
39
39
  },
40
40
  "keywords": [
41
41
  "homebridge",
package/src/deviceata.js CHANGED
@@ -466,7 +466,6 @@ class DeviceAta extends EventEmitter {
466
466
  for (let i = 0; i < this.buttonsConfiguredCount; i++) {
467
467
  const button = this.buttonsConfigured[i];
468
468
  const mode = button.mode;
469
- let setPreviousValue = false;
470
469
  switch (mode) {
471
470
  case 0: //POWER ON,OFF
472
471
  button.state = (power === true);
package/src/deviceerv.js CHANGED
@@ -139,7 +139,7 @@ class DeviceErv extends EventEmitter {
139
139
  }
140
140
 
141
141
  //MQTT client
142
- const mqttEnabled = thi.smqtt.enable || false;
142
+ const mqttEnabled = this.mqtt.enable || false;
143
143
  if (mqttEnabled) {
144
144
  if (!this.mqttConnected) {
145
145
  this.mqtt1 = new Mqtt({
@@ -198,7 +198,7 @@ class DeviceErv extends EventEmitter {
198
198
 
199
199
  //accessory info
200
200
  this.manufacturer = manufacturer;
201
- this.model = modelIndoor ? modelIndoor : modelOutdoor ? modelOutdoor : `${deviceTypeText} ${this.deviceId}`;
201
+ this.model = modelIndoor ? modelIndoor : modelOutdoor ? modelOutdoor : `${this.deviceTypeText} ${this.deviceId}`;
202
202
  this.serialNumber = serialNumber;
203
203
  this.firmwareRevision = firmwareAppVersion;
204
204
  this.displayDeviceInfo = false;