forked from RaresAil/homebridge-tp-link-tapo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.schema.json
More file actions
42 lines (42 loc) · 1.1 KB
/
config.schema.json
File metadata and controls
42 lines (42 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"pluginAlias": "HomebridgeTapoSmarthome",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"default": "Tapo Smart Home"
},
"email": {
"type": "string",
"format": "email"
},
"password": {
"type": "string"
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"type": {
"type": "string",
"default": "MAC",
"oneOf": [
{ "title": "IP Address", "enum": ["IP"], "description": "Set IP only if it's staticly assigned." },
{ "title": "MAC Address", "enum": ["MAC"], "description": "MAC address is the default and will be used to find the Tapo device's IP Address." }
]
}
},
"required": ["value", "type"]
}
}
},
"required": ["platform", "name", "email", "password", "addresses"]
}
}