homebridge-melcloud-control 4.4.1-beta.4 → 4.4.1-beta.5

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -146,7 +146,7 @@ class MelCloudPlatform {
146
146
  // set rest ful port
147
147
  account.restFul.port = (device.id).slice(-4).replace(/^0/, '9');
148
148
 
149
- if (accountType === 'melcloudhome') {
149
+ if (type === 'melcloudhome') {
150
150
  account.restFul.port = `${3000}${index}`;
151
151
 
152
152
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.4.1-beta.4",
4
+ "version": "4.4.1-beta.5",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",