forked from steve228uk/homebridge-magichome
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.schema.json
45 lines (44 loc) · 1 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
{
"pluginAlias": "MagicHome2",
"pluginType": "accessory",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Magichome",
"description": "The name of the device",
"required": true
},
"ip": {
"title": "IP Address / Hostname",
"type": "string",
"format": "hostname",
"required": true
},
"setup": {
"title": "Mode",
"type": "string",
"default": "RGBW",
"oneOf": [
{ "title": "RGBW", "enum": ["RGBW"] },
{ "title": "RGBWW", "enum": ["RGBWW"] },
{ "title": "RGB", "enum": ["RGB"] }
],
"required": true
},
"purewhite": {
"title": "Pure White",
"type": "boolean",
"required": false
},
"singleChannel": {
"title": "Single Channel Mode",
"type": "boolean",
"required": false
}
}
}
}