From f5550509d4f7f23f3bd3824b348edc62f4a22068 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Thu, 5 Dec 2019 06:16:25 +0100 Subject: [PATCH] Move imports to top for geo_json_events (#29486) --- homeassistant/components/geo_json_events/geo_location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/geo_json_events/geo_location.py b/homeassistant/components/geo_json_events/geo_location.py index 2bf309e2450..2f881232495 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -3,6 +3,7 @@ from datetime import timedelta import logging from typing import Optional +from geojson_client.generic_feed import GenericFeedManager import voluptuous as vol from homeassistant.components.geo_location import PLATFORM_SCHEMA, GeolocationEvent @@ -71,7 +72,6 @@ class GeoJsonFeedEntityManager: self, hass, add_entities, scan_interval, coordinates, url, radius_in_km ): """Initialize the GeoJSON Feed Manager.""" - from geojson_client.generic_feed import GenericFeedManager self._hass = hass self._feed_manager = GenericFeedManager(