From 430061a159e29931d4e154ef215b0ca42905738d Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Fri, 29 Nov 2019 01:53:49 +0100 Subject: [PATCH] Move imports to top for usgs_earthquakes_feed (#29202) --- .../components/usgs_earthquakes_feed/geo_location.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 7890243c1e0..37934db3052 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -3,6 +3,9 @@ from datetime import timedelta import logging from typing import Optional +from geojson_client.usgs_earthquake_hazards_program_feed import ( + UsgsEarthquakeHazardsProgramFeedManager, +) import voluptuous as vol from homeassistant.components.geo_location import PLATFORM_SCHEMA, GeolocationEvent @@ -122,9 +125,6 @@ class UsgsEarthquakesFeedEntityManager: minimum_magnitude, ): """Initialize the Feed Entity Manager.""" - from geojson_client.usgs_earthquake_hazards_program_feed import ( - UsgsEarthquakeHazardsProgramFeedManager, - ) self._hass = hass self._feed_manager = UsgsEarthquakeHazardsProgramFeedManager(