generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.schema.json
59 lines (58 loc) · 1.52 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
{
"pluginAlias": "Ebeco",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Ebeco"
},
"username": {
"title": "Username",
"type": "string",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"temperatureSensor": {
"title": "Sensor Location",
"type": "string",
"default": "floor",
"oneOf": [
{ "title": "Floor", "enum": ["floor"] },
{ "title": "Room", "enum": ["room"] }
],
"required": true
},
"includeOffOption": {
"title": "Include Off Option",
"type": "boolean",
"required": false,
"default": true
},
"pollFrequency": {
"title": "API Poll Frequency (ms)",
"type": "integer",
"required": false,
"placeholder": 10000,
"minimum": 500,
"maximum": 60000,
"description": "How frequently to update the plugin state from the Ebeco API"
},
"apiHost": {
"title": "API Host (Development Only)",
"type": "string",
"required": false,
"placeholder": "https://ebecoconnect.com",
"description": "Allows the API target to be set. When development testing with the mock server, this should be set to http://localhost:8080"
}
}
}
}