mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Move imports to top for ign_sismologia (#29523)
This commit is contained in:
parent
97cb8a3745
commit
42688a6e4a
@ -3,6 +3,7 @@ from datetime import timedelta
|
|||||||
import logging
|
import logging
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
from georss_ign_sismologia_client import IgnSismologiaFeedManager
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.geo_location import PLATFORM_SCHEMA, GeolocationEvent
|
from homeassistant.components.geo_location import PLATFORM_SCHEMA, GeolocationEvent
|
||||||
@ -87,7 +88,6 @@ class IgnSismologiaFeedEntityManager:
|
|||||||
minimum_magnitude,
|
minimum_magnitude,
|
||||||
):
|
):
|
||||||
"""Initialize the Feed Entity Manager."""
|
"""Initialize the Feed Entity Manager."""
|
||||||
from georss_ign_sismologia_client import IgnSismologiaFeedManager
|
|
||||||
|
|
||||||
self._hass = hass
|
self._hass = hass
|
||||||
self._feed_manager = IgnSismologiaFeedManager(
|
self._feed_manager = IgnSismologiaFeedManager(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user