-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfig.schema.json
45 lines (45 loc) · 1.59 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
{
"pluginType": "platform",
"pluginAlias": "Tradfri",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Ikea Trådfri Gateway",
"required": true
},
"securityCode": {
"title": "Type in the security code, found on the back of the gateway",
"type": "string",
"required": true,
"minLength": 16,
"maxLength": 16
},
"host": {
"title": "IP Adress of the Gateway, found in the IP Table of your Router",
"type": "string",
"format": "ipv4"
},
"lowBatteryLimit": {
"title": "Low battery limit in percentage for remotes and blinds",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 99
},
"expose": {
"title": "Expose device types",
"type": "array",
"uniqueItems": true,
"default": ["lightbulbs", "outlets", "blinds", "remotes", "airPurifiers", "shortcut-buttons"],
"items": {
"type": "string",
"enum": ["lightbulbs", "outlets", "blinds", "remotes", "airPurifiers", "shortcut-buttons", "non-ikea-lightbulbs", "non-ikea-outlets", "non-ikea-blinds", "non-ikea-airPurifiers"]
}
}
}
}
}