-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.schema.json
44 lines (44 loc) · 1.13 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
{
"pluginAlias": "Tydom",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Homebridge plugin to manage Tydom devices by Delta Dore",
"footerDisplay": "For a detailed description, see the [wiki](https://github.com/mgcrea/homebridge-tydom/wiki/Configuration)",
"schema": {
"type": "object",
"properties": {
"hostname": {
"title": "Tydom hostname",
"type": "string",
"required": true,
"default": "mediation.tydom.com"
},
"username": {
"title": "Tydom username",
"type": "string",
"required": true,
"default": ""
},
"password": {
"title": "Tydom password",
"type": "string",
"required": true,
"default": ""
},
"debug": {
"title": "Enable debug",
"type": "boolean",
"required": false,
"default": true
},
"settings": {
"description": "Device settings",
"type": "object",
"patternProperties": {
"^[0-9]+$": {"type": "object"}
}
}
}
},
"form": ["hostname", "username", "password", "settings"]
}