homebridge-kasa-python 2.5.8 → 2.5.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.
Files changed (2) hide show
  1. package/config.schema.json +11 -3
  2. package/package.json +1 -1
@@ -63,7 +63,7 @@
63
63
  "items": {
64
64
  "title": "Manual Device",
65
65
  "type": "object",
66
- "required": ["host", "alias"],
66
+ "required": ["host"],
67
67
  "properties": {
68
68
  "host": {
69
69
  "type": "string",
@@ -71,7 +71,8 @@
71
71
  },
72
72
  "alias": {
73
73
  "type": "string",
74
- "title": "Alias"
74
+ "title": "Alias",
75
+ "readonly": true
75
76
  },
76
77
  "breakoutChildDevices": {
77
78
  "type": "boolean",
@@ -177,7 +178,14 @@
177
178
  "type": "array",
178
179
  "buttonText": "Add Manual Device",
179
180
  "items": [
180
- "manualDevices[].host", "manualDevices[].alias", "manualDevices[].breakoutChildDevices"
181
+ "manualDevices[].host", "manualDevices[].alias",
182
+ {
183
+ "type": "conditional",
184
+ "condition": "model.manualDevices[].breakoutChildDevices !== undefined",
185
+ "items": [
186
+ "manualDevices[].breakoutChildDevices"
187
+ ]
188
+ }
181
189
  ]
182
190
  },
183
191
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge Kasa Python",
3
3
  "name": "homebridge-kasa-python",
4
- "version": "2.5.8",
4
+ "version": "2.5.9",
5
5
  "description": "Plugin that uses Python-Kasa API to communicate with Kasa Devices.",
6
6
  "license": "MIT",
7
7
  "type": "module",