forked from moifort/homebridge-create-fan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
68 lines (68 loc) · 1.83 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
58
59
60
61
62
63
64
65
66
67
68
{
"pluginAlias": "HomebridgeCreateCeilingFan",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Create Ceiling Fan"
},
"devices": {
"type": "array",
"title": "Devices",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "ID",
"description": "Tuya device ID",
"required": true
},
"key": {
"type": "string",
"title": "Key",
"description": "Tuya device key",
"required": true
},
"ip": {
"type": "string",
"title": "IP",
"description": "Tuya device IP",
"required": false
},
"version": {
"type": "string",
"title": "Version",
"description": "Tuya device version",
"default": "3.3",
"required": false
},
"name": {
"type": "string",
"title": "Device Name",
"description": "Name of the device",
"required": true
},
"hasLight": {
"type": "boolean",
"title": "Has Light",
"description": "Device has a light ?",
"required": true
},
"withToggle": {
"type": "boolean",
"title": "Add toggle switch for light and fan",
"description": "Check true if you have a toggle switch (switch with 1 click)",
"required": false
}
}
}
}
}
}
}