-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.schema.json
57 lines (57 loc) · 1.71 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
50
51
52
53
54
55
56
57
{
"pluginAlias": "Sonoff",
"pluginType": "accessory",
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"title": "Type",
"description": "Select the accessory type.",
"placeholder": "lightbulb",
"oneOf": [
{
"title": "Fan",
"enum": [
"fan"
]
},
{
"title": "Light bulb",
"enum": [
"lightbulb"
]
}
]
},
"name": {
"type": "string",
"minLength": 1,
"required": true,
"title": "Name",
"description": "Name of accessory, as displayed in HomeKit."
},
"url": {
"type": "string",
"title": "URL",
"required": true,
"description": "The url address that you discovered earlier",
"placeholder": "http://localhost:8081"
},
"id": {
"type": "string",
"title": "ID",
"required": true,
"description": "Id device number ",
"placeholder": "0000000000"
},
"debug": {
"type": "boolean",
"readOnly": false,
"writeOnly": false,
"title": "Debug mode",
"description": "Set to true to enable debug mode for this accessory"
}
}
}
}