forked from RoeiOfri/homebridge-palgate-opener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
47 lines (47 loc) · 1.17 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
{
"pluginAlias": "PalGateOpener",
"pluginType": "accessory",
"singular": false,
"headerDisplay": "Gate Opener for homebridge for PalGate APP users",
"footerDisplay": "Created by @roeio",
"schema": {
"type": "object",
"properties": {
"deviceId": {
"title": "Gate ID",
"description": "Please use the extraction tool to extract the gate ID and paste it here",
"type": "string",
"required": true
},
"token": {
"title": "Token",
"description": "Please use the extraction tool to extract the gate TOKEN and paste it here",
"type": "string",
"required": true
},
"accessoryType": {
"title": "Accessory Type",
"description": "How do you wish to represent the button in HomeKit? default: garageDoor",
"type": "string",
"default": "garageDoor",
"required": false,
"oneOf": [{
"title": "Garage Door",
"enum": ["garageDoor"]
},
{
"title": "Switch",
"enum": ["switch"]
}
]
},
"name": {
"title": "Gate name, e.g HomeGate",
"description": "Please provide a name to your gate, default: HomeGate",
"type": "string",
"default": "HomeGate",
"required": false
}
}
}
}