-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathconfig.schema.json
49 lines (49 loc) · 1.35 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
{
"pluginAlias": "Govee",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Homebridge plugin to control Govee devices.",
"footerDisplay": "",
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"default": "Govee"
},
"apiKey": {
"type": "string",
"title": "API Key",
"description": "The API key linked to your Govee account. This is obtained through the Govee mobile app."
},
"debug": {
"title": "Debug Logging",
"type": "boolean",
"required": true,
"description": "If enabled, more information will be added to the Homebridge log.",
"default": false
},
"debugReqRes": {
"title": "Request & Response Logging",
"type": "boolean",
"required": true,
"description": "If enabled, HTTP, web socket and LAN mode messages will be added to the log. Not recommended for long-term use.",
"default": false
}
},
"required": ["apiKey", "debug", "debugReqRes"]
},
"layout": [
{
"type": "fieldset",
"items": ["apiKey"]
},
{
"type": "fieldset",
"title": "Optional",
"description": "Only adjust these settings if you know what you are doing.",
"expandable": true,
"items": ["debug", "debugReqRes"]
}
]
}