1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Move constants to setup.py (#10312)

* Remove unused import

* Move setup relevant consts to 'setup.py'

* remove blank line

* Set source
This commit is contained in:
Fabian Affolter
2017-11-03 15:43:30 +01:00
committed by Paulus Schoutsen
parent a43f99a71c
commit 81324806d5
6 changed files with 59 additions and 57 deletions

View File

@@ -1,6 +1,5 @@
"""All methods needed to bootstrap a Home Assistant instance."""
import asyncio
import logging
import logging.handlers
import os
from timeit import default_timer as timer
@@ -9,13 +8,13 @@ from types import ModuleType
from typing import Optional, Dict
import homeassistant.config as conf_util
from homeassistant.config import async_notify_setup_error
import homeassistant.core as core
import homeassistant.loader as loader
import homeassistant.util.package as pkg_util
from homeassistant.util.async import run_coroutine_threadsafe
from homeassistant.config import async_notify_setup_error
from homeassistant.const import (
EVENT_COMPONENT_LOADED, PLATFORM_FORMAT, CONSTRAINT_FILE)
from homeassistant.util.async import run_coroutine_threadsafe
_LOGGER = logging.getLogger(__name__)