This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.schema.json
63 lines (63 loc) · 1.5 KB
/
config.schema.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"pluginAlias":"iSmartGate",
"pluginType":"accessory",
"singular":true,
"headerDisplay":null,
"schema":{
"type":"object",
"properties":{
"name":{
"title":"Accessory Name",
"type":"string",
"format":"string",
"default":"iSmartGate Temperature",
"description":"The name of your device to show in the Home app",
"minLength": 1,
"required": true
},
"username":{
"title":"Username",
"type":"string",
"format":"string",
"placeholder":"admin",
"description": "Default: admin",
"minLength": 1,
"required": true
},
"password":{
"title":"Password",
"type":"string",
"format":"password",
"description": "Configured during device setup",
"minLength": 1,
"required": true
}
}
},
"layout":[
{
"type":"flex",
"flex-flow":"row wrap",
"items":[
{
"key":"name",
"type":"string"
}
]
},
{
"type":"flex",
"flex-flow":"row wrap",
"items":[
{
"key":"username",
"type":"string"
},
{
"key":"password",
"type":"password"
}
]
}
]
}