Move imports to top for onboarding (#29542)

This commit is contained in:
springstan authored and Fabian Affolter committed 2019-12-07 11:55:15 +05:30
1 parent b4c95421d3
commit e2adfc3979
2 files changed
+6 -7

No files matched your search

@@ -1,9 +1,10 @@
"""Support to help onboard new users."""
from homeassistant.core import callback
from homeassistant.loader import bind_hass
from homeassistant.helpers.storage import Store
from homeassistant.loader import bind_hass
from .const import DOMAIN, STEP_USER, STEPS, STEP_INTEGRATION, STEP_CORE_CONFIG
from . import views
from .const import DOMAIN, STEP_CORE_CONFIG, STEP_INTEGRATION, STEP_USER, STEPS
STORAGE_KEY = DOMAIN
STORAGE_VERSION = 3
@@ -64,8 +65,6 @@ async def async_setup(hass, config):
hass.data[DOMAIN] = data
from . import views
await views.async_setup(hass, data, store)
return True