-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.schema.json
63 lines (63 loc) · 1.61 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": "drayton-wiser",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Please see the [installation guide](https://github.com/stringbean/homebridge-drayton-wiser/wiki/Installation) for instructions on how to obtain the secret from your HeatHub.",
"schema": {
"type": "object",
"properties": {
"secret": {
"title": "Secret",
"type": "string",
"required": true
},
"namePrefix": {
"title": "Discovery hostname prefix",
"type": "string",
"description": "Only change this if your router overrides the name of your HeatHub",
"placeholder": "WiserHeat"
},
"overrideAddress": {
"title": "Manual HeatHub Address",
"type": "boolean",
"default": false,
"description": "Use this option if your HeatHub cannot be automatically discovered"
},
"address": {
"title": "HeatHub Address",
"type": "string"
},
"hideAwayButton": {
"title": "Hide 'Away' button",
"type": "boolean",
"default": false,
"description": "Hides switch that enables 'Away' mode for your Wiser system"
}
}
},
"form": [
{
"key": "secret",
"type": "password"
},
{
"key": "namePrefix",
"type": "text"
},
{
"key": "overrideAddress",
"type": "checkbox"
},
{
"key": "address",
"type": "text",
"condition": "overrideAddress"
},
{
"type": "fieldset",
"title": "Accessory Options",
"expandable": true,
"items": ["hideAwayButton"]
}
]
}