homebridge-melcloud-control 4.6.4 → 4.6.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.
- package/config.schema.json +22 -3
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -2343,8 +2343,8 @@
|
|
|
2343
2343
|
"host": {
|
|
2344
2344
|
"title": "IP/Hostname",
|
|
2345
2345
|
"type": "string",
|
|
2346
|
-
"placeholder": "
|
|
2347
|
-
"
|
|
2346
|
+
"placeholder": "192.168.1.20 or mqtt.local",
|
|
2347
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)(\\.([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?))*)$",
|
|
2348
2348
|
"description": "Here set the IP/Hostname of MQTT Broker.",
|
|
2349
2349
|
"condition": {
|
|
2350
2350
|
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
|
|
@@ -2430,7 +2430,26 @@
|
|
|
2430
2430
|
}
|
|
2431
2431
|
]
|
|
2432
2432
|
}
|
|
2433
|
-
}
|
|
2433
|
+
},
|
|
2434
|
+
"allOf": [
|
|
2435
|
+
{
|
|
2436
|
+
"if": {
|
|
2437
|
+
"required": [
|
|
2438
|
+
"enable"
|
|
2439
|
+
],
|
|
2440
|
+
"properties": {
|
|
2441
|
+
"enable": {
|
|
2442
|
+
"const": true
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
"then": {
|
|
2447
|
+
"required": [
|
|
2448
|
+
"host"
|
|
2449
|
+
]
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
]
|
|
2434
2453
|
}
|
|
2435
2454
|
},
|
|
2436
2455
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.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",
|