homebridge-melcloud-control 3.1.0-beta.8 → 3.1.0-beta.9
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 +6 -6
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
"condition": {
|
|
455
|
-
"functionBody": "const
|
|
455
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.devicesAta[arrayIndices]?.presets || []; const hasValidPresets = presets.length > 0 && presets.every(preset => preset.name != null && preset.name !== ''); return hasValidPresets;"
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
"buttonsSensors": {
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
747
|
"condition": {
|
|
748
|
-
"functionBody": "const buttons = model.accounts[arrayIndices]
|
|
748
|
+
"functionBody": "const buttons = model.accounts[arrayIndices]?.devicesAta[arrayIndices]?.buttons || []; const hasValidButtons = buttons.length > 0 && buttons.every(button => button.name != null && button.name !== ''); return hasValidButtons;"
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
}
|
|
@@ -947,7 +947,7 @@
|
|
|
947
947
|
}
|
|
948
948
|
},
|
|
949
949
|
"condition": {
|
|
950
|
-
"functionBody": "const
|
|
950
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.devicesAtw[arrayIndices]?.presets || []; const hasValidPresets = presets.length > 0 && presets.every(preset => preset.name != null && preset.name !== ''); return hasValidPresets;"
|
|
951
951
|
}
|
|
952
952
|
},
|
|
953
953
|
"buttonsSensors": {
|
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
}
|
|
1163
1163
|
},
|
|
1164
1164
|
"condition": {
|
|
1165
|
-
"functionBody": "const buttons = model.accounts[arrayIndices]
|
|
1165
|
+
"functionBody": "const buttons = model.accounts[arrayIndices]?.devicesAtw[arrayIndices]?.buttons || []; const hasValidButtons = buttons.length > 0 && buttons.every(button => button.name != null && button.name !== ''); return hasValidButtons;"
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
@@ -1322,7 +1322,7 @@
|
|
|
1322
1322
|
}
|
|
1323
1323
|
},
|
|
1324
1324
|
"condition": {
|
|
1325
|
-
"functionBody": "const
|
|
1325
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.devicesErv[arrayIndices]?.presets || []; const hasValidPresets = presets.length > 0 && presets.every(preset => preset.name != null && preset.name !== ''); return hasValidPresets;"
|
|
1326
1326
|
}
|
|
1327
1327
|
},
|
|
1328
1328
|
"buttonsSensors": {
|
|
@@ -1489,7 +1489,7 @@
|
|
|
1489
1489
|
}
|
|
1490
1490
|
},
|
|
1491
1491
|
"condition": {
|
|
1492
|
-
"functionBody": "const buttons = model.accounts[arrayIndices]
|
|
1492
|
+
"functionBody": "const buttons = model.accounts[arrayIndices]?.devicesErv[arrayIndices]?.buttons || []; const hasValidButtons = buttons.length > 0 && buttons.every(button => button.name != null && button.name !== ''); return hasValidButtons;"
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
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.9",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|