Use core constants for volvooncall (#46543)

pull/46554/head
tkdrob 2021-02-14 17:01:18 -05:00 committed by GitHub
parent f1c792b4c8
commit a5f372018c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,7 @@ from volvooncall import Connection
from homeassistant.const import ( from homeassistant.const import (
CONF_NAME, CONF_NAME,
CONF_PASSWORD, CONF_PASSWORD,
CONF_REGION,
CONF_RESOURCES, CONF_RESOURCES,
CONF_SCAN_INTERVAL, CONF_SCAN_INTERVAL,
CONF_USERNAME, CONF_USERNAME,
@ -32,7 +33,6 @@ _LOGGER = logging.getLogger(__name__)
MIN_UPDATE_INTERVAL = timedelta(minutes=1) MIN_UPDATE_INTERVAL = timedelta(minutes=1)
DEFAULT_UPDATE_INTERVAL = timedelta(minutes=1) DEFAULT_UPDATE_INTERVAL = timedelta(minutes=1)
CONF_REGION = "region"
CONF_SERVICE_URL = "service_url" CONF_SERVICE_URL = "service_url"
CONF_SCANDINAVIAN_MILES = "scandinavian_miles" CONF_SCANDINAVIAN_MILES = "scandinavian_miles"
CONF_MUTABLE = "mutable" CONF_MUTABLE = "mutable"