Move imports to top for fleetgo (#29431)

pull/29436/head
springstan 2019-12-04 15:15:30 +01:00 committed by Franck Nijhof
parent 9bb6bcad70
commit c6ad57eb2b
1 changed files with 3 additions and 3 deletions

View File

@ -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