homebridge-melcloud-control 3.6.9-beta.2 → 3.6.10

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.6.9-beta.2",
4
+ "version": "3.6.10",
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,13 +31,13 @@
31
31
  "LICENSE"
32
32
  ],
33
33
  "engines": {
34
- "homebridge": "^1.8.5 || ^2.0.0-beta.0",
34
+ "homebridge": "^1.9.0 || ^2.0.0 || ^2.0.0-beta.26 || ^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
38
  "@homebridge/plugin-ui-utils": "^2.0.1",
39
39
  "async-mqtt": "^2.6.3",
40
- "axios": "^1.8.1",
40
+ "axios": "^1.8.2",
41
41
  "express": "^4.21.2"
42
42
  },
43
43
  "keywords": [
@@ -53,10 +53,6 @@
53
53
  "mqtt",
54
54
  "restful"
55
55
  ],
56
- "funding": {
57
- "type": "github",
58
- "url": "https://github.com/sponsors/grzegorz914"
59
- },
60
56
  "contributors": [],
61
57
  "scripts": {
62
58
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -427,7 +427,7 @@ class MelCloudAtw extends EventEmitter {
427
427
  async readData(path) {
428
428
  try {
429
429
  const savedData = await fsPromises.readFile(path)
430
- if (savedData.trim().length === 0) {
430
+ if (savedData.toString().trim().length === 0) {
431
431
  return null;
432
432
  }
433
433
 
@@ -351,7 +351,7 @@ class MelCloudErv extends EventEmitter {
351
351
  async readData(path) {
352
352
  try {
353
353
  const savedData = await fsPromises.readFile(path)
354
- if (savedData.trim().length === 0) {
354
+ if (savedData.toString().trim().length === 0) {
355
355
  return null;
356
356
  }
357
357