generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
33 lines (33 loc) · 857 Bytes
/
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
{
"pluginAlias": "HomebridgeSwitchButton",
"pluginType": "accessory",
"singular": false,
"@footerDisplay": "Created by @sant3001",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Accessory Name",
"type": "string",
"required": true
},
"delay": {
"title": "Delay Time in Milliseconds",
"description": "Amount of time in milliseconds to wait since the switch is turned ON until the switch will be turned OFF and the button will switch state",
"type": "integer",
"default": 500,
"required": true
},
"switchName": {
"title": "Switch Name",
"type": "string",
"required": false
},
"lightName": {
"title": "Light Name",
"type": "string",
"required": false
}
}
}
}