forked from j796160836/homebridge-sengled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
51 lines (51 loc) · 2.16 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
{
"pluginAlias": "SengledHub",
"pluginType": "platform",
"headerDisplay": "This plugin uses the existing Sengled Element Home app infrastructure to allow you to control your Sengled accessories.",
"footerDisplay": "This plugin is still in beta. If you encounter any issues out of this product, [Issues](https://github.com/j796160836/homebridge-sengled/issues) and [Pull Request](https://github.com/j796160836/homebridge-sengled/pulls) are welcome.",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "SengledHub",
"description": "The name that will appear in your homebridge log."
},
"username": {
"title": "Username",
"type": "string",
"placeholder": "YOUR-SENGLED-USERNAME",
"required": true,
"description": "Your username of the Sengled account you used to register the device with in the Sengled app."
},
"password": {
"title": "Password",
"type": "string",
"placeholder": "YOUR-SENGLED-PASSWORD",
"required": true,
"description": "Your password of the Sengled account you used to register the device with in the Sengled app."
},
"cacheDuration": {
"title": "Cache Duration",
"type": "integer",
"placeholder": "20000",
"required": true,
"description": "Duration in milliseconds for caching devices list."
},
"debug": {
"title": "debug",
"type": "boolean",
"default": false,
"description": "This will enable more logging information from the plugin."
},
"info": {
"title": "info",
"type": "boolean",
"default": true,
"description": "This will enable logging information from the plugin."
}
}
}
}