homebridge-melcloud-control 3.1.0-beta.13 → 3.1.0-beta.15
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/config.schema.json +7 -4
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
"id": {
|
|
387
387
|
"title": "ID",
|
|
388
388
|
"type": "integer",
|
|
389
|
-
"required":
|
|
389
|
+
"required": true
|
|
390
390
|
},
|
|
391
391
|
"name": {
|
|
392
392
|
"title": "Name",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
"condition": {
|
|
455
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null);"
|
|
455
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
"buttonsSensors": {
|
|
@@ -944,7 +944,7 @@
|
|
|
944
944
|
}
|
|
945
945
|
},
|
|
946
946
|
"condition": {
|
|
947
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || [];
|
|
947
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
948
948
|
}
|
|
949
949
|
},
|
|
950
950
|
"buttonsSensors": {
|
|
@@ -1160,6 +1160,9 @@
|
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
}
|
|
1163
|
+
},
|
|
1164
|
+
"condition": {
|
|
1165
|
+
"functionBody": "const devices = model.accounts[arrayIndices]?.atwDevices || []; return devices.length > 0 && devices.every(device => device.id != null && device.id !== '');"
|
|
1163
1166
|
}
|
|
1164
1167
|
},
|
|
1165
1168
|
"ervDevices": {
|
|
@@ -1313,7 +1316,7 @@
|
|
|
1313
1316
|
}
|
|
1314
1317
|
},
|
|
1315
1318
|
"condition": {
|
|
1316
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || [];
|
|
1319
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1317
1320
|
}
|
|
1318
1321
|
},
|
|
1319
1322
|
"buttonsSensors": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.1.0-beta.
|
|
4
|
+
"version": "3.1.0-beta.15",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|