homebridge-melcloud-control 4.7.10 → 4.7.11-beta.0

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": "4.7.10",
4
+ "version": "4.7.11-beta.0",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -39,7 +39,7 @@
39
39
  "mqtt": "^5.15.0",
40
40
  "axios": "^1.13.5",
41
41
  "express": "^5.2.1",
42
- "puppeteer": "^24.37.3",
42
+ "puppeteer": "^24.37.4",
43
43
  "ws": "^8.19.0"
44
44
  },
45
45
  "keywords": [
package/src/deviceata.js CHANGED
@@ -1630,7 +1630,8 @@ class DeviceAta extends EventEmitter {
1630
1630
  obj.targetOperationMode = 2;
1631
1631
  break;
1632
1632
  default:
1633
- if (this.logWarn) this.emit('warn', `Unknown operating mode: ${operationMode}`);
1633
+ if (this.logDebug) this.emit('debug', `Unknown operating mode: ${operationMode}`);
1634
+ return;
1634
1635
  }
1635
1636
  obj.currentOperationMode = !power ? 0 : (inStandbyMode ? 1 : obj.currentOperationMode);
1636
1637
 
@@ -1711,8 +1712,8 @@ class DeviceAta extends EventEmitter {
1711
1712
  obj.targetOperationMode = 2;
1712
1713
  break;
1713
1714
  default:
1714
- if (this.logWarn) this.emit('warn', `Unknown operating mode: ${operationMode}`);
1715
- break;
1715
+ if (this.logDebug) this.emit('debug', `Unknown operating mode: ${operationMode}`);
1716
+ return;
1716
1717
  }
1717
1718
 
1718
1719
  obj.currentOperationMode = !power ? 0 : obj.currentOperationMode;
@@ -1737,7 +1738,7 @@ class DeviceAta extends EventEmitter {
1737
1738
  );
1738
1739
  break;
1739
1740
  default:
1740
- if (this.logWarn) this.emit('warn', `Received unknown display type: ${this.displayType}`);
1741
+ if (this.logDebug) this.emit('debug', `Received unknown display type: ${this.displayType}`);
1741
1742
  return;
1742
1743
  };
1743
1744
  this.accessory = obj;
package/src/deviceatw.js CHANGED
@@ -2020,7 +2020,7 @@ class DeviceAtw extends EventEmitter {
2020
2020
  };
2021
2021
  break;
2022
2022
  default:
2023
- if (this.logWarn) this.emit('warn', `Received unknown account type: ${this.accountType}`);
2023
+ if (this.logDebug) this.emit('debug', `Received unknown account type: ${this.accountType}`);
2024
2024
  return;
2025
2025
  }
2026
2026
 
@@ -2092,7 +2092,7 @@ class DeviceAtw extends EventEmitter {
2092
2092
  };
2093
2093
  break;
2094
2094
  default:
2095
- if (this.logWarn) this.emit('warn', `Received unknown account type: ${this.accountType}`);
2095
+ if (this.logDebug) this.emit('debug', `Received unknown account type: ${this.accountType}`);
2096
2096
  return;
2097
2097
  }
2098
2098
 
@@ -2102,7 +2102,7 @@ class DeviceAtw extends EventEmitter {
2102
2102
  operationModeSetPropsValidValues = [[0, 1, 2], [0, 1, 2], [1, 2], [0]][heatCoolModes];
2103
2103
  break;
2104
2104
  default:
2105
- if (this.logWarn) this.emit('warn', `Received unknown zone: ${i}`);
2105
+ if (this.logDebug) this.emit('debug', `Received unknown zone: ${i}`);
2106
2106
  return;
2107
2107
  };
2108
2108
 
@@ -2183,7 +2183,7 @@ class DeviceAtw extends EventEmitter {
2183
2183
  };
2184
2184
  break;
2185
2185
  default:
2186
- if (this.logWarn) this.emit('warn', `Received unknown account type: ${this.accountType}`);
2186
+ if (this.logDebug) this.emit('debug', `Received unknown account type: ${this.accountType}`);
2187
2187
  return;
2188
2188
  }
2189
2189
 
@@ -2253,7 +2253,7 @@ class DeviceAtw extends EventEmitter {
2253
2253
  };
2254
2254
  break;
2255
2255
  default:
2256
- if (this.logWarn) this.emit('warn', `Received unknown account type: ${this.accountType}`);
2256
+ if (this.logDebug) this.emit('debug', `Received unknown account type: ${this.accountType}`);
2257
2257
  return;
2258
2258
  }
2259
2259
 
@@ -2262,7 +2262,7 @@ class DeviceAtw extends EventEmitter {
2262
2262
  operationModeSetPropsValidValues = [[1, 2, 3], [1, 2, 3], [1, 2], [0]][heatCoolModes];
2263
2263
  break;
2264
2264
  default:
2265
- if (this.logWarn) this.emit('warn', `Received unknown zone: ${i}`);
2265
+ if (this.logDebug) this.emit('debug', `Received unknown zone: ${i}`);
2266
2266
  return;
2267
2267
  };
2268
2268
 
@@ -2276,7 +2276,7 @@ class DeviceAtw extends EventEmitter {
2276
2276
  );
2277
2277
  break;
2278
2278
  default:
2279
- if (this.logWarn) this.emit('warn', `Received unknown display type: ${this.displayType}`);
2279
+ if (this.logDebug) this.emit('debug', `Received unknown display type: ${this.displayType}`);
2280
2280
  return;
2281
2281
  };
2282
2282
 
@@ -2593,8 +2593,8 @@ class DeviceAtw extends EventEmitter {
2593
2593
  button.state = prohibitZone2;
2594
2594
  break;
2595
2595
  default: //Unknown button
2596
- if (this.logWarn) this.emit('warn', `Received unknown button mode: ${mode} detected`);
2597
- break;
2596
+ if (this.logDebug) this.emit('debug', `Received unknown button mode: ${mode} detected`);
2597
+ return;
2598
2598
  };
2599
2599
 
2600
2600
  //control
package/src/deviceerv.js CHANGED
@@ -1265,7 +1265,7 @@ class DeviceErv extends EventEmitter {
1265
1265
  obj.targetOperationMode = 0; // auto
1266
1266
  break;
1267
1267
  default:
1268
- if (this.logWarn) this.emit('warn', `Received unknown ventilation mode: ${ventilationMode}`);
1268
+ if (this.logDebug) this.emit('debug', `Received unknown ventilation mode: ${ventilationMode}`);
1269
1269
  return;
1270
1270
  }
1271
1271
 
@@ -1333,7 +1333,7 @@ class DeviceErv extends EventEmitter {
1333
1333
  obj.targetOperationMode = 3; // AUTO
1334
1334
  break;
1335
1335
  default:
1336
- if (this.logWarn) this.emit('warn', `Received unknown ventilation mode: ${ventilationMode}`);
1336
+ if (this.logDebug) this.emit('debug', `Received unknown ventilation mode: ${ventilationMode}`);
1337
1337
  return;
1338
1338
  }
1339
1339
 
@@ -1362,7 +1362,7 @@ class DeviceErv extends EventEmitter {
1362
1362
  );
1363
1363
  break;
1364
1364
  default:
1365
- if (this.logWarn) this.emit('warn', `Received unknown display type: ${this.displayType}`);
1365
+ if (this.logDebug) this.emit('debug', `Received unknown display type: ${this.displayType}`);
1366
1366
  return;
1367
1367
  };
1368
1368
 
@@ -1510,7 +1510,7 @@ class DeviceErv extends EventEmitter {
1510
1510
  button.state = (obj.lockPhysicalControl === 1);
1511
1511
  break;
1512
1512
  default: //Unknown button
1513
- if (this.logWarn) this.emit('warn', `Received unknown button mode: ${mode} detected`);
1513
+ if (this.logDebug) this.emit('debug', `Received unknown button mode: ${mode} detected`);
1514
1514
  return;
1515
1515
  };
1516
1516