2021-07-28 19:41:11 +00:00
|
|
|
"""Constants for the Renault component."""
|
2021-08-27 10:12:09 +00:00
|
|
|
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
|
2021-09-01 11:10:48 +00:00
|
|
|
from homeassistant.components.device_tracker import DOMAIN as DEVICE_TRACKER_DOMAIN
|
2021-09-01 12:44:10 +00:00
|
|
|
from homeassistant.components.select import DOMAIN as SELECT_DOMAIN
|
2021-08-27 10:12:09 +00:00
|
|
|
from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN
|
|
|
|
|
2021-07-28 19:41:11 +00:00
|
|
|
DOMAIN = "renault"
|
|
|
|
|
|
|
|
CONF_LOCALE = "locale"
|
|
|
|
CONF_KAMEREON_ACCOUNT_ID = "kamereon_account_id"
|
|
|
|
|
|
|
|
DEFAULT_SCAN_INTERVAL = 300 # 5 minutes
|
|
|
|
|
|
|
|
PLATFORMS = [
|
2021-08-27 10:12:09 +00:00
|
|
|
BINARY_SENSOR_DOMAIN,
|
2021-09-01 11:10:48 +00:00
|
|
|
DEVICE_TRACKER_DOMAIN,
|
2021-09-01 12:44:10 +00:00
|
|
|
SELECT_DOMAIN,
|
2021-08-27 10:12:09 +00:00
|
|
|
SENSOR_DOMAIN,
|
2021-07-28 19:41:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
DEVICE_CLASS_PLUG_STATE = "renault__plug_state"
|
|
|
|
DEVICE_CLASS_CHARGE_STATE = "renault__charge_state"
|
|
|
|
DEVICE_CLASS_CHARGE_MODE = "renault__charge_mode"
|