forked from Burry/homebridge-smartrent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
39 lines (39 loc) · 1.21 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": "SmartRent",
"pluginType": "platform",
"singular": true,
"customUi": true,
"headerDisplay": "Homebridge plugin for SmartRent installations",
"footerDisplay": "For documentation please see [GitHub](https://github.com/Burry/homebridge-smartrent)",
"schema": {
"type": "object",
"properties": {
"email": {
"title": "Email",
"type": "string",
"format": "email",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"tfaCode": {
"title": "Two-factor authentication code",
"type": "string",
"required": false,
"pattern": "^[0-9]{6}$",
"minLength": 6,
"maxLength": 6,
"description": "If you have enabled two-factor authentication on your SmartRent account, enter the six-digit code here, then restart Homebridge before the code expires."
},
"unitName": {
"title": "Unit name",
"type": "string",
"required": false,
"description": "Only necessary if you have multiple units in your SmartRent account. Get the name from the top of the More tab in the SmartRent app."
}
}
}
}