mirror of
https://github.com/elisspace/core.git
synced 2026-09-19 09:11:38 +00:00
* Add binary sensor platform * Add tests * Simplify code * Adjust descriptions * Adjust tests * Make "fuel" tests more explicit * Updates for device registry checks
17 lines
380 B
Python
17 lines
380 B
Python
"""Constants for the Renault component."""
|
|
DOMAIN = "renault"
|
|
|
|
CONF_LOCALE = "locale"
|
|
CONF_KAMEREON_ACCOUNT_ID = "kamereon_account_id"
|
|
|
|
DEFAULT_SCAN_INTERVAL = 300 # 5 minutes
|
|
|
|
PLATFORMS = [
|
|
"binary_sensor",
|
|
"sensor",
|
|
]
|
|
|
|
DEVICE_CLASS_PLUG_STATE = "renault__plug_state"
|
|
DEVICE_CLASS_CHARGE_STATE = "renault__charge_state"
|
|
DEVICE_CLASS_CHARGE_MODE = "renault__charge_mode"
|