initial commit
This commit is contained in:
28
custom_components/kia_uvo/const.py
Normal file
28
custom_components/kia_uvo/const.py
Normal file
@@ -0,0 +1,28 @@
|
||||
"""Constants for the Hyundai / Kia Connect integration."""
|
||||
|
||||
DOMAIN: str = "kia_uvo"
|
||||
|
||||
CONF_BRAND: str = "brand"
|
||||
CONF_FORCE_REFRESH_INTERVAL: str = "force_refresh"
|
||||
CONF_NO_FORCE_REFRESH_HOUR_START: str = "no_force_refresh_hour_start"
|
||||
CONF_NO_FORCE_REFRESH_HOUR_FINISH: str = "no_force_refresh_hour_finish"
|
||||
CONF_ENABLE_GEOLOCATION_ENTITY: str = "enable_geolocation_entity"
|
||||
CONF_USE_EMAIL_WITH_GEOCODE_API: str = "use_email_with_geocode_api"
|
||||
|
||||
REGION_EUROPE: str = "Europe"
|
||||
REGION_CANADA: str = "Canada"
|
||||
REGION_USA: str = "USA"
|
||||
REGIONS = {1: REGION_EUROPE, 2: REGION_CANADA, 3: REGION_USA}
|
||||
BRAND_KIA: str = "Kia"
|
||||
BRAND_HYUNDAI: str = "Hyundai"
|
||||
BRANDS = {1: BRAND_KIA, 2: BRAND_HYUNDAI}
|
||||
|
||||
DEFAULT_PIN: str = ""
|
||||
DEFAULT_SCAN_INTERVAL: int = 30
|
||||
DEFAULT_FORCE_REFRESH_INTERVAL: int = 240
|
||||
DEFAULT_NO_FORCE_REFRESH_HOUR_START: int = 22
|
||||
DEFAULT_NO_FORCE_REFRESH_HOUR_FINISH: int = 6
|
||||
DEFAULT_ENABLE_GEOLOCATION_ENTITY: bool = False
|
||||
DEFAULT_USE_EMAIL_WITH_GEOCODE_API: bool = False
|
||||
|
||||
DYNAMIC_UNIT: str = "dynamic_unit"
|
||||
Reference in New Issue
Block a user