-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
67 lines (67 loc) · 2.34 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
{
"pluginAlias": "PorscheTaycan",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"username": {
"title": "Porsche Connect username",
"type": "string",
"required": true,
"default": ""
},
"password": {
"title": "Porsche Connect password",
"type": "string",
"required": true,
"default": ""
},
"pollInterval": {
"title": "Poll interval (in minutes)",
"type": "number",
"required": true,
"default": 30
},
"batteryDevice": {
"title": "Expose SoC as humidity sensor",
"default": false,
"type": "boolean",
"description": "By default, the SoC (State of Charge / battery level) is exposed as characteristic of the charger device. However, it's possible to configure the SoC to be presented as humidity sensor instead, which allows for incorporating SoC-based automations within the Home app."
},
"chargingPowerDevice": {
"title": "Expose Charging Power as sensor",
"default": false,
"type": "boolean",
"description": "Expose current Charging Power (kw/h) as Ambient Light sensor (Lux). E.g. 0 Lux reflects 0 kw/h and 10,7 Lux reflect 10,7 kw/h"
},
"lowBattery": {
"title": "Low battery level",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 35,
"description": "Which battery level in percentage is considered low"
},
"locationConfig": {
"title": "Home location",
"type": "object",
"properties": {
"lat": {
"title": "Latitude",
"type": "string",
"required": false,
"default": ""
},
"long": {
"title": "Longitude",
"type": "string",
"required": false,
"default": "",
"description": "When your (home) location as latitude/longitude is filled in an occupancy sensor is exposed to indicate if your vehicle is at home. Your vehicle is recognized as being at home if the distance between the vehicle and the specified location is within 300 meters (approximately 0.2 miles). Use https://www.latlong.net/ to get the latitude and logitude of your address."
}
}
}
}
}
}