fix: Change imports to package-relative
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
"""Config flow for Coronavirus Hessen integration."""
|
"""Config flow for Coronavirus Augsburg integration."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
@@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
"""Handle a config flow for Coronavirus Hessen."""
|
"""Handle a config flow for Coronavirus Augsburg."""
|
||||||
|
|
||||||
VERSION = 1
|
VERSION = 1
|
||||||
CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL
|
CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from home_assistant_covid19_augsburg.crawler import CovidCrawler
|
from .crawler import CovidCrawler
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from home_assistant_covid19_augsburg import get_coordinator
|
from . import get_coordinator
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user