This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.schema.json
107 lines (106 loc) · 2.49 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"pluginAlias": "AladdinConnectGarageDoorOpener",
"pluginType": "accessory",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Garage Door",
"required": true
},
"username": {
"title": "User Name/Email Address",
"type": "string",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"options": {
"hidden": true
}
},
"status_update_delay": {
"title": "Status Update Delay",
"type": "string",
"default": "15",
"placeholder": "# of seconds to close",
"required": true
},
"poll_state_delay": {
"title": "Enable Polling (in seconds)",
"type": "integer",
"placeholder": "# of seconds"
},
"device_number": {
"title": "Device Number",
"type": "integer",
"placeholder": "0"
},
"garage_number": {
"title": "Garage Number",
"type": "integer",
"placeholder": "1"
},
"battery_low_level": {
"title": "Low battery warning threshold level (in percent)",
"type": "integer",
"placeholder": "15"
},
"ignore_errors": {
"title": "Ignore Errors",
"type": "boolean"
},
"log_polling": {
"title": "Log Polling",
"type": "boolean"
},
"allow_debug": {
"title": "Allow Debug Logs",
"type": "boolean"
}
}
},
"form": [
"name",
"username",
"password",
{
"type": "fieldset",
"expandable": true,
"title": "Polling Settings",
"description": "Options for polling Garage Door when Home app is closed",
"items": [
"poll_state_delay",
"log_polling"
]
},
{
"type": "fieldset",
"expandable": true,
"title": "Garage Door Settings",
"description": "Options for time to close and multiple garage door setup",
"items": [
"status_update_delay",
"device_number",
"garage_number"
]
},
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Settings",
"description": "Don't change these, unless you understand what you're doing.",
"items": [
"ignore_errors",
"allow_debug",
"battery_low_level"
]
}
],
"display": null
}