homebridge-melcloud-control 4.3.11-beta.26 → 4.3.11-beta.27

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.3.11-beta.26",
4
+ "version": "4.3.11-beta.27",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -342,8 +342,8 @@ class MelCloudHome extends EventEmitter {
342
342
  'Pragma': 'no-cache',
343
343
  'Cache-Control': 'no-cache'
344
344
  };
345
- const url = `${ApiUrlsHome.WebSocketURL}${hash}`;
346
- this.webSocket = new WebSocket(url, { headers: headers });
345
+ const webSocketUrl = `${ApiUrlsHome.WebSocketURL}${hash}`;
346
+ this.webSocket = new WebSocket(webSocketUrl, { headers: headers });
347
347
  }
348
348
  } catch (error) {
349
349
  if (this.logError) this.emit('error', `CDP WebSocketCreated handler error: ${error.message}`);