-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.schema.json
123 lines (123 loc) · 3.21 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"pluginAlias": "Evohome",
"pluginType": "platform",
"singular": false,
"headerDisplay": "This Plugin integrates your Honeywell Evohome into Homebridge. Please use your credentials from https://getconnected.honeywellhome.com. You should consider running this plugin as a child bridge, as it allows for persistent accessories, thus prevent breaking your automations!",
"footerDisplay": "It is important, that your Homebridge time zone is set correct. Please double check this! If you encounter any problems don't hesitate to have a look at https://github.com/luc-ass/homebridge-evohome.",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Evohome",
"minLength": 1,
"required": true,
"description": "Plugin name as displayed in the Homebridge log"
},
"username": {
"title": "Username/Email adress",
"type": "string",
"format": "email",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"temperatureUnit": {
"title": "Temperature Unit",
"type": "string",
"default": "Celsius",
"oneOf": [
{ "title": "Celsius", "enum": ["Celsius"] },
{ "title": "Fahrenheit", "enum": ["Fahrenheit"] }
],
"required": true
},
"locationIndex": {
"title": "Location Index",
"type": "integer",
"minimum": 0,
"default": 0,
"required": false,
"description": "This should only be changed if you have more than one location. The index starts with \"0\" and counts up for each added home."
},
"switchAway": {
"title": "Display \"Away Switch\"",
"type": "boolean",
"default": true,
"required": false
},
"switchDayOff": {
"title": "Display \"Day Off Switch\"",
"type": "boolean",
"default": true,
"required": false
},
"switchEco": {
"title": "Display \"Eco Mode Switch\"",
"type": "boolean",
"default": true,
"required": false
},
"switchHeatingOff": {
"title": "Display \"Heating Off Switch\"",
"type": "boolean",
"default": true,
"required": false
},
"switchCustom": {
"title": "Display \"Custom Mode Switch\"",
"type": "boolean",
"default": true,
"required": false
},
"childBridge": {
"title": "This accessory runs in a child bridge (recommended)",
"description": "This switch should be turned on, if the platform is run as a child bridge. This ensures, that accessories are not lost on error.",
"type": "boolean",
"default": false,
"required": false
},
"temperatureAboveAsOff": {
"title": "Represent room temperature above set temperature as off",
"type": "boolean",
"default": false,
"required": true
}
}
},
"layout": [
"name",
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
"username",
{
"key": "password",
"type": "password"
}
]
},
{
"type": "fieldset",
"title": "Optional Settings",
"expandable": true,
"expanded": false,
"items": [
"temperatureUnit",
"locationIndex",
"switchAway",
"switchDayOff",
"switchEco",
"switchHeatingOff",
"switchCustom",
"childBridge",
"temperatureAboveAsOff"
]
}
]
}