homebridge-melcloud-control 2.5.0-beta.90 → 2.5.0-beta.91

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -79,7 +79,7 @@ class MelCloudPlatform {
79
79
  //Air Conditioner
80
80
  for (const device of account.ataDevices) {
81
81
  //check id exist
82
- if (!device.id || !device.type) {
82
+ if (!device.id || !device.type || device.displayMode > 0) {
83
83
  continue;
84
84
  };
85
85
 
@@ -118,7 +118,7 @@ class MelCloudPlatform {
118
118
  //Heat Pump
119
119
  for (const device of account.atwDevices) {
120
120
  //check id exist
121
- if (!device.id || !device.type) {
121
+ if (!device.id || !device.type || device.displayMode > 0) {
122
122
  continue;
123
123
  };
124
124
 
@@ -157,7 +157,7 @@ class MelCloudPlatform {
157
157
  //Energy Recovery Ventilation
158
158
  for (const device of account.ervDevices) {
159
159
  //check id exist
160
- if (!device.id || !device.type) {
160
+ if (!device.id || !device.type || device.displayMode > 0) {
161
161
  continue;
162
162
  };
163
163
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "2.5.0-beta.90",
4
+ "version": "2.5.0-beta.91",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",