homebridge-melcloud-control 4.10.19-beta.1 → 4.10.19

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.
@@ -2382,7 +2382,7 @@
2382
2382
  "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])?))*)$",
2383
2383
  "description": "Here set the IP/Hostname of MQTT Broker.",
2384
2384
  "condition": {
2385
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
2385
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true;"
2386
2386
  }
2387
2387
  },
2388
2388
  "port": {
@@ -2391,7 +2391,7 @@
2391
2391
  "placeholder": 1883,
2392
2392
  "description": "Here set the port of MQTT Broker.",
2393
2393
  "condition": {
2394
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
2394
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true;"
2395
2395
  }
2396
2396
  },
2397
2397
  "clientId": {
@@ -2400,7 +2400,7 @@
2400
2400
  "placeholder": "client id",
2401
2401
  "description": "Here optional set the Client ID of MQTT Broker.",
2402
2402
  "condition": {
2403
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true"
2403
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true"
2404
2404
  }
2405
2405
  },
2406
2406
  "prefix": {
@@ -2409,7 +2409,7 @@
2409
2409
  "placeholder": "home",
2410
2410
  "description": "Here set the prefix.",
2411
2411
  "condition": {
2412
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
2412
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true;"
2413
2413
  }
2414
2414
  },
2415
2415
  "protocolVersion": {
@@ -2428,7 +2428,7 @@
2428
2428
  ],
2429
2429
  "description": "MQTT protocol version used to connect to the broker. Some brokers (e.g. the ioBroker MQTT adapter) only support 3.1.1 and will silently reject 5.0 connections.",
2430
2430
  "condition": {
2431
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
2431
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true;"
2432
2432
  }
2433
2433
  },
2434
2434
  "auth": {
@@ -2446,7 +2446,7 @@
2446
2446
  "placeholder": "user",
2447
2447
  "description": "Here set the user of MQTT Broker.",
2448
2448
  "condition": {
2449
- "functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
2449
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.auth.enable === true;"
2450
2450
  }
2451
2451
  },
2452
2452
  "passwd": {
@@ -2456,12 +2456,12 @@
2456
2456
  "description": "Here set the password of MQTT Broker.",
2457
2457
  "format": "password",
2458
2458
  "condition": {
2459
- "functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
2459
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.auth.enable === true;"
2460
2460
  }
2461
2461
  }
2462
2462
  },
2463
2463
  "condition": {
2464
- "functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
2464
+ "functionBody": "return model.accounts[arrayIndices[0]].mqtt.enable === true;"
2465
2465
  },
2466
2466
  "allOf": [
2467
2467
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.10.19-beta.1",
4
+ "version": "4.10.19",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",