core/homeassistant/components/renault/const.py

22 lines
507 B
Python
Raw Normal View History

2021-07-28 19:41:11 +00:00
"""Constants for the Renault component."""
from homeassistant.const import Platform
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 = [
Platform.BINARY_SENSOR,
Platform.BUTTON,
Platform.DEVICE_TRACKER,
Platform.SELECT,
Platform.SENSOR,
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"