forked from nschum/homebridge-twinkly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
50 lines (49 loc) · 1.69 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": "Twinkly",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Configure Twinkly using the iOS or Android app and make sure it's connected to the same network",
"footerDisplay": "https://github.com/vanHoesel/homebridge-twinkly-plus",
"schema": {
"type": "object",
"properties": {
"allowBrightnessControl": {
"title": "Allow brightness control",
"type": "boolean",
"description": "Shows a brightness slider. Otherwise a simple on/off switch will be shown."
},
"allowColorControl": {
"title": "Allow color control",
"type": "boolean",
"description": "Shows a color controls."
},
"removeUnreachableDeviceMinutes": {
"title": "Remove unreachable devices after",
"type": "integer",
"default": 0,
"minimum": 0,
"oneOf": [
{ "title": "5 minutes", "type": "number", "enum": [5] },
{ "title": "1 hour", "type": "number", "enum": [60] },
{ "title": "1 day", "type": "number", "enum": [1440] },
{ "title": "30 days", "type": "number", "enum": [43200] }
],
"description": "“None” means never remove them"
},
"scanInterval": {
"title": "Time between scan for new devices",
"type": "integer",
"default": 0,
"minimum": 0,
"oneOf": [
{ "title": "5 seconds", "type": "number", "enum": [5] },
{ "title": "1 minute", "type": "number", "enum": [60] },
{ "title": "15 minutes", "type": "number", "enum": [900] }
],
"description": "“None” means do not scan for new devices"
}
}
},
"form": null,
"display": null
}