homebridge-melcloud-control 3.7.5 → 3.7.6

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -181,7 +181,7 @@ class MelCloudPlatform {
181
181
  await impulseGenerator.start([{ name: 'start', sampling: 45000 }]);
182
182
  };
183
183
  } catch (error) {
184
- throw new Error(`${accountName}, ATA did finish launching error: ${error}.`);
184
+ const emitLog = disableLogError ? false : log.error(`${accountName}, ATA did finish launching error: ${error}.`);
185
185
  }
186
186
 
187
187
  //Heat Pump 1
@@ -247,7 +247,7 @@ class MelCloudPlatform {
247
247
  await impulseGenerator.start([{ name: 'start', sampling: 45000 }]);
248
248
  };
249
249
  } catch (error) {
250
- throw new Error(`${accountName}, ATE did finish launching error: ${error}.`);
250
+ const emitLog = disableLogError ? false : log.error(`${accountName}, ATE did finish launching error: ${error}.`);
251
251
  }
252
252
 
253
253
  //Energy Recovery Ventilation 3
@@ -313,10 +313,10 @@ class MelCloudPlatform {
313
313
  await impulseGenerator.start([{ name: 'start', sampling: 45000 }]);
314
314
  };
315
315
  } catch (error) {
316
- throw new Error(`${accountName}, ERV did finish launching error: ${error}.`);
316
+ const emitLog = disableLogError ? false : log.error(`${accountName}, ERV did finish launching error: ${error}.`);
317
317
  }
318
318
  } catch (error) {
319
- throw new Error(`${accountName}, Account did finish launching error: ${error}.`);
319
+ const emitLog = disableLogError ? false : log.error(`${accountName}, Account did finish launching error: ${error}.`);
320
320
  }
321
321
  };
322
322
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.7.5",
4
+ "version": "3.7.6",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -31,14 +31,14 @@
31
31
  "LICENSE"
32
32
  ],
33
33
  "engines": {
34
- "homebridge": "^1.9.0 || ^2.0.0 || ^2.0.0-beta.26 || ^2.0.0-alpha.37",
34
+ "homebridge": "^1.9.0 || ^2.0.0 || ^2.0.0-beta.27 || ^2.0.0-alpha.37",
35
35
  "node": "^18.20.4 || ^20.15.1 || ^22.7.0 || ^23.2.0"
36
36
  },
37
37
  "dependencies": {
38
- "@homebridge/plugin-ui-utils": "^2.0.1",
38
+ "@homebridge/plugin-ui-utils": "^2.0.2",
39
39
  "async-mqtt": "^2.6.3",
40
40
  "axios": "^1.8.4",
41
- "express": "^4.21.2"
41
+ "express": "^5.1.0"
42
42
  },
43
43
  "keywords": [
44
44
  "homebridge",