-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
33 lines (33 loc) · 1.01 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
{
"pluginAlias": "DummySwitch",
"pluginType": "accessory",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"stateful": {
"title": "Stateful",
"type": "boolean",
"default": false,
"description": "The switch remains on instead of being automatically turned off."
},
"reverse": {
"title": "Reverse",
"type": "boolean",
"default": false,
"description": "The switch's default state is on."
},
"time": {
"title": "Time",
"type": "number",
"default": 1000,
"description": "The switch will turn off after this number of milliseconds. Not used if the switch is stateful."
}
}
}
}