generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
40 lines (40 loc) · 1.12 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
{
"pluginAlias": "WledPreset",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Fill out required fields below and click \"SAVE\" to get started. See [README](https://github.com/goodshort/homebridge-wled-preset#readme) for more information.",
"schema": {
"type": "object",
"properties": {
"wleds": {
"type": "array",
"title": "WLEDs",
"items": {
"type": "object",
"title": "WLED device",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Led Strip",
"required": true
},
"ip": {
"title": "IP or hostname",
"type": "string",
"placeholder": "Enter IP or hostname...",
"required": true
},
"presetsNb": {
"title": "Number of presets configured",
"type": "number",
"placeholder": "Enter amount of presets",
"default": "5",
"required": true
}
}
}
}
}
}
}