This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.schema.json
81 lines (81 loc) · 2.03 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"pluginAlias":"PanasonicAirConditioner",
"pluginType":"accessory",
"singular":true,
"headerDisplay":null,
"schema":{
"type":"object",
"properties":{
"name":{
"title":"Accessory Name",
"type":"string",
"format":"string",
"placeholder":"Panasonic Air Conditioner",
"minLength": 1,
"required": true
},
"email":{
"title":"Email",
"type":"string",
"format":"email",
"placeholder":"Email",
"minLength": 1,
"required": true
},
"password":{
"title":"Password",
"type":"string",
"format":"password",
"placeholder":"Password",
"minLength": 1,
"required": true
},
"devicenumber":{
"title":"Device Number (optional)",
"type":"integer",
"format":"integer",
"placeholder":"1",
"minLength": 1,
"required": false,
"description":"If you have multiple devices, specify the device number here to select that one specifically. Otherwise, defaults to 1."
},
"debug":{
"title":"Debug logging",
"type":"boolean",
"description":"Turns on additional logging (can be helpful for diagnosing issues)"
}
}
},
"layout":[
{
"type":"flex",
"flex-flow":"row wrap",
"items":[
"name"
]
},
{
"type":"flex",
"flex-flow":"row wrap",
"items":[
{
"key":"email",
"type":"email"
},
{
"key":"password",
"type":"password"
}
]
},
{
"type":"fieldset",
"title":"Advanced configuration",
"expandable":true,
"items":[
"devicenumber",
"debug"
]
}
]
}