-
Notifications
You must be signed in to change notification settings - Fork 17
/
config.schema.json
62 lines (62 loc) · 1.82 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
{
"pluginAlias": "homebridge-google-nest-sdm",
"pluginType": "platform",
"headerDisplay": "For help getting these values, please see the readme at: https://github.com/potmat/homebridge-google-nest-sdm#where-do-the-config-values-come-from Read it carefully, you must follow the instructions regarding the authorization URL if you want events to work properly.",
"singular": "true",
"schema": {
"type": "object",
"properties": {
"clientId": {
"title": "Client ID (e.g. \"780816631155-gbvyo1o7r2pn95qc4ei9d61io4uh48hl.apps.googleusercontent.com\")",
"type": "string",
"required": true
},
"clientSecret": {
"title": "Client Secret",
"type": "string",
"required": true
},
"projectId": {
"title": "SDM Project ID",
"type": "string",
"required": true
},
"refreshToken": {
"title": "Refresh Token",
"type": "string",
"required": true
},
"subscriptionId": {
"title": "PubSub Subscription (e.g. \"projects/your-gcp-project-id/subscriptions/your-subscription-id\")",
"type": "string",
"required": true
},
"gcpProjectId": {
"title": "GCP Project ID",
"type": "string",
"required": false
},
"vEncoder": {
"title": "Video Encoder",
"type": "string",
"required": false
},
"showFan": {
"title": "Show Fan Switch",
"type": "boolean",
"required": false
},
"fanDuration": {
"title": "Fan duration (in seconds) when turning on the fan.",
"type": "integer",
"minimum": 1,
"maximum": 43200,
"default": 900,
"required": false,
"condition": {
"functionBody": "return model.showFan"
}
}
}
}
}