-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
/
Copy pathconst.py
43 lines (36 loc) · 1.06 KB
/
const.py
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
"""Constants for the Volvo integration."""
from homeassistant.const import Platform
DOMAIN = "volvo"
PLATFORMS: list[Platform] = [Platform.SENSOR]
ATTR_API_TIMESTAMP = "api_timestamp"
CONF_VIN = "vin"
DATA_BATTERY_CAPACITY = "battery_capacity_kwh"
MANUFACTURER = "Volvo"
SCOPES = [
"openid",
"conve:battery_charge_level",
"conve:brake_status",
"conve:climatization_start_stop",
"conve:command_accessibility",
"conve:commands",
"conve:diagnostics_engine_status",
"conve:diagnostics_workshop",
"conve:doors_status",
"conve:engine_status",
"conve:fuel_status",
"conve:lock_status",
"conve:odometer_status",
"conve:trip_statistics",
"conve:tyre_status",
"conve:vehicle_relation",
"conve:warnings",
"conve:windows_status",
"energy:battery_charge_level",
"energy:charging_connection_status",
"energy:charging_current_limit",
"energy:charging_system_status",
"energy:electric_range",
"energy:estimated_charging_time",
"energy:recharge_status",
"energy:target_battery_level",
]