-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.schema.json
70 lines (70 loc) · 1.97 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
{
"pluginAlias": "G-On Alice",
"pluginType": "platform",
"singular": true,
"headerDisplay": "An account to link your Yandex Alice to Homebridge needs to created on https://homebridge.g-on.io/. This account will be used when you enable the skill in the Yandex App, and in the configuration below.",
"footerDisplay": "See https://github.com/G-On-dev/homebridge-g-on-alice for more information and instructions.\n\nHomebridge Yandex Alice Skill: %link to Yandex Alice Skill, once it's public% ",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "G-On Alice",
"description": "Plugin name as displayed in the Homebridge log"
},
"username": {
"title": "Username",
"type": "string",
"required": true,
"description": "Username for https://homebridge.g-on.io/"
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"description": "Password for https://homebridge.g-on.io/"
},
"pin": {
"title": "Homebridge Pin",
"type": "string",
"required": true,
"placeholder": "031-45-154",
"description": "This needs to match the Homebridge pin set in your config.json file"
},
"debug": {
"title": " Enable Debug Mode",
"type": "boolean"
},
"notifies": {
"title": " Notifies the Yandex smart home platform about the changed state of the devices.",
"type": "boolean"
}
}
},
"layout": [
"name",
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
"username",
{
"key": "password",
"type": "password"
}
]
},
"notifies",
{
"type": "fieldset",
"title": "Optional Settings",
"expandable": true,
"expanded": false,
"items": [
"debug"
]
}
]
}