Move imports to top for fleetgo (#29431)
parent
9bb6bcad70
commit
c6ad57eb2b
|
@ -2,11 +2,12 @@
|
|||
import logging
|
||||
|
||||
import requests
|
||||
from ritassist import API
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.components.device_tracker import PLATFORM_SCHEMA
|
||||
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.event import track_utc_time_change
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
@ -40,7 +41,6 @@ class FleetGoDeviceScanner:
|
|||
|
||||
def __init__(self, config, see):
|
||||
"""Initialize FleetGoDeviceScanner."""
|
||||
from ritassist import API
|
||||
|
||||
self._include = config.get(CONF_INCLUDE)
|
||||
self._see = see
|
||||
|
|
Loading…
Reference in New Issue