-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
50 lines (50 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
48
49
50
{
"pluginAlias": "SoilMoistureTempSensor",
"pluginType": "accessory",
"singular": false,
"customUi": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "My Soil sensor",
"description": "Plugin name as displayed in the Homebridge log."
},
"maxCacheAgeMin": {
"title": "Maximum cache age [min]",
"type": "number",
"required": false,
"default": 60,
"description": "When no update received within this time, the device's battery status is emulated as low."
},
"notificationID": {
"title": "Notification ID",
"type": "string",
"required": true,
"default": ""
},
"notificationPassword": {
"title": "Notification password",
"type": "string",
"required": false,
"default": ""
}
}
},
"form": [
"name",
"maxCacheAgeMin",
{
"type": "fieldset",
"expandable": true,
"title": "Notification server",
"items": [
"notificationID",
"notificationPassword"
]
}
]
}