Refactored component 'general' into components.__init__
This commit is contained in:
parent
0fc3d359cb
commit
097a51abc6
8 changed files with 144 additions and 145 deletions
|
@ -7,7 +7,7 @@ import ConfigParser
|
|||
import logging
|
||||
|
||||
import homeassistant as ha
|
||||
from homeassistant.components import general
|
||||
import homeassistant.components as components
|
||||
|
||||
|
||||
# pylint: disable=too-many-branches,too-many-locals,too-many-statements
|
||||
|
@ -134,7 +134,7 @@ def from_config_file(config_path):
|
|||
add_status("Downloader", downloader.setup(
|
||||
bus, get_opt("downloader", "download_dir")))
|
||||
|
||||
add_status("General", general.setup(bus))
|
||||
add_status("Core components", components.setup(bus))
|
||||
|
||||
if has_section('browser'):
|
||||
add_status("Browser", load_module('browser').setup(bus))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue