homebridge-melcloud-control 4.2.3-beta.20 → 4.2.3-beta.21

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/package.json +1 -1
  2. package/src/melcloud.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.2.3-beta.20",
4
+ "version": "4.2.3-beta.21",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/melcloud.js CHANGED
@@ -106,7 +106,7 @@ class MelCloud extends EventEmitter {
106
106
  // Zamiana ID na string
107
107
  allDevices.forEach(device => {
108
108
  device.DeviceID = String(device.DeviceID);
109
- device.Headers = headers;
109
+ device.Headers = this.headers;
110
110
  });
111
111
 
112
112
  if (this.logDebug) this.emit('debug', `Found ${allDevices.length} devices in building: ${building.Name || 'Unnamed'}`);