-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.schema.json
33 lines (32 loc) · 1.09 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
{
"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/nschum/homebridge-twinkly",
"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."
},
"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"
}
}
},
"form": null,
"display": null
}