forked from nitaybz/homebridge-delay-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
executable file
·39 lines (39 loc) · 1.53 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
{
"pluginAlias": "DelaySwitch",
"pluginType": "accessory",
"singular": false,
"headerDisplay": "Homebridge plugin for creating delay/timer switches and sensors for delayed actions/automations",
"footerDisplay": "Created by @nitaybz",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Accessory Name",
"description": "Name for the accessory",
"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 sensor will trigger",
"type": "integer",
"default": 5000,
"required": true
},
"disableSensor": {
"title": "Disable Extra Motion Sensor",
"description": "Enable if you have no use of the sensor and you're interested to use the switch only",
"type": "boolean",
"default": false,
"required": false
},
"startOnReboot": {
"title": "Turn ON when HomeBridge Restarts",
"description": "When Enabled, the switch will be turned ON and start the timer when HomeBridge server restarts",
"type": "boolean",
"default": false,
"required": false
}
}
}
}