Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move imports to top for fleetgo #29431

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions homeassistant/components/fleetgo/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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
Expand Down