-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
73 lines (73 loc) · 2.7 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
{
"pluginAlias": "PluginUpdate",
"pluginType": "platform",
"singular": true,
"headerDisplay": "A Homebridge plugin for checking for updates to Homebridge and plugins.",
"footerDisplay": "Raise [Issues](https://github.com/Sunoo/homebridge-plugin-update-check/issues) or submit [Pull Requests](https://github.com/Sunoo/homebridge-plugin-update-check/pulls) on [Project Page](https://github.com/Sunoo/homebridge-plugin-update-check).",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Plugin Update",
"description": "A unique name for the accessory. It will be used as the accessory name in HomeKit."
},
"sensorType": {
"title": "Sensor Type",
"type": "string",
"required": true,
"default": "motion",
"description": "What type of sensor will be exposed to HomeKit.",
"oneOf": [
{
"title": "Motion Sensor",
"enum": [ "motion" ]
},
{
"title": "Contact Sensor",
"enum": [ "contact" ]
},
{
"title": "Occupancy Sensor",
"enum": [ "occupancy" ]
},
{
"title": "Humidity Sensor",
"enum": [ "humidity" ]
},
{
"title": "Light Sensor",
"enum": [ "light" ]
},
{
"title": "Air Quality Sensor",
"enum": [ "air" ]
},
{
"title": "Leak Sensor",
"enum": [ "leak" ]
},
{
"title": "Smoke Sensor",
"enum": [ "smoke" ]
},
{
"title": "Carbon Dioxide Sensor",
"enum": [ "dioxide" ]
},
{
"title": "Carbon Monoxide Sensor",
"enum": [ "monoxide" ]
}
]
},
"forceNcu": {
"title": "Force npm-check-updates",
"type": "boolean",
"description": "Force use of node-check-updates instead of homebridge-config-ui-x."
}
}
}
}