forked from sman591/homebridge-lg-thinq-ac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
98 lines (98 loc) · 2.27 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"pluginAlias": "LgThinqAirConditioner",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"country_code": {
"title": "Country code",
"type": "string",
"default": "US",
"placehodler": "Example: US",
"required": true
},
"language_code": {
"title": "Language code",
"type": "string",
"default": "en-US",
"placehodler": "Example: en-US",
"required": true
},
"auth_login_url": {
"title": "Login URL (paste this into your browser)",
"type": "string",
"required": false
},
"auth_redirected_url": {
"title": "Redirected URL (copy the URL address after logging in, paste it here, save, and restart homebridge)",
"type": "string",
"required": false
},
"auth_login_state": {
"title": "Login state (DO NOT MODIFY)",
"type": "string",
"required": false
},
"auth_access_token": {
"title": "Access token (DO NOT MODIFY)",
"type": "string",
"required": false
},
"auth_refresh_token": {
"title": "Refresh token (DO NOT MODIFY)",
"type": "string",
"required": false
},
"auth_user_number": {
"title": "User number (DO NOT MODIFY)",
"type": "string",
"required": false
},
"refresh_interval": {
"title": "Refresh interval (requires Homebridge restart)",
"type": "number",
"default": 1,
"oneOf": [
{
"title": "30 seconds",
"enum": [
0.5
]
},
{
"title": "1 minute (default)",
"enum": [
1
]
},
{
"title": "3 minutes",
"enum": [
3
]
},
{
"title": "10 minutes",
"enum": [
10
]
},
{
"title": "1 hour",
"enum": [
60
]
},
{
"title": "1 day",
"enum": [
1440
]
}
],
"required": false
}
}
}
}