homebridge-tasmota-control 0.4.24 → 0.4.25
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 +34 -21
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -37,13 +37,19 @@
|
|
|
37
37
|
"title": "User",
|
|
38
38
|
"type": "string",
|
|
39
39
|
"placeholder": "username",
|
|
40
|
-
"required": true
|
|
40
|
+
"required": true,
|
|
41
|
+
"condition": {
|
|
42
|
+
"functionBody": "return model.devices[arrayIndices].auth === true;"
|
|
43
|
+
}
|
|
41
44
|
},
|
|
42
45
|
"passwd": {
|
|
43
46
|
"title": "Password",
|
|
44
47
|
"type": "string",
|
|
45
48
|
"placeholder": "password",
|
|
46
|
-
"required": true
|
|
49
|
+
"required": true,
|
|
50
|
+
"condition": {
|
|
51
|
+
"functionBody": "return model.devices[arrayIndices].auth === true;"
|
|
52
|
+
}
|
|
47
53
|
},
|
|
48
54
|
"refreshInterval": {
|
|
49
55
|
"title": "Refresh Interval (sec)",
|
|
@@ -88,21 +94,6 @@
|
|
|
88
94
|
"items": [
|
|
89
95
|
"devices[].name",
|
|
90
96
|
"devices[].host",
|
|
91
|
-
"devices[].auth",
|
|
92
|
-
{
|
|
93
|
-
"key": "devices[]",
|
|
94
|
-
"type": "section",
|
|
95
|
-
"title": "Authorization",
|
|
96
|
-
"expandable": true,
|
|
97
|
-
"expanded": false,
|
|
98
|
-
"items": [
|
|
99
|
-
"devices[].user",
|
|
100
|
-
"devices[].passwd"
|
|
101
|
-
],
|
|
102
|
-
"condition": {
|
|
103
|
-
"functionBody": "return model.devices[arrayIndices].auth === true;"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
97
|
{
|
|
107
98
|
"key": "devices[]",
|
|
108
99
|
"type": "section",
|
|
@@ -110,10 +101,32 @@
|
|
|
110
101
|
"expandable": true,
|
|
111
102
|
"expanded": false,
|
|
112
103
|
"items": [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
104
|
+
{
|
|
105
|
+
"key": "devices[]",
|
|
106
|
+
"type": "tabarray",
|
|
107
|
+
"title": "{{ value.title }}",
|
|
108
|
+
"items": [
|
|
109
|
+
{
|
|
110
|
+
"key": "devices[]",
|
|
111
|
+
"title": "Authorization",
|
|
112
|
+
"items": [
|
|
113
|
+
"devices[].auth",
|
|
114
|
+
"devices[].user",
|
|
115
|
+
"devices[].passwd"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"key": "devices[]",
|
|
120
|
+
"title": "System",
|
|
121
|
+
"items": [
|
|
122
|
+
"devices[].enableDebugMode",
|
|
123
|
+
"devices[].disableLogInfo",
|
|
124
|
+
"devices[].disableLogDeviceInfo",
|
|
125
|
+
"devices[].refreshInterval"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
117
130
|
]
|
|
118
131
|
}
|
|
119
132
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Tasmota Control",
|
|
3
3
|
"name": "homebridge-tasmota-control",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.25",
|
|
5
5
|
"description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control Tasmota flashed devices.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|