Move hass.local_api and hass.components to config object

This commit is contained in:
Paulus Schoutsen committed 2015-03-21 22:06:59 -07:00
1 parent 609064b9d8
commit 58812b326c
11 files changed
+39 -23

No files matched your search

@@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__)
def setup(hass, config):
""" Setup serving the frontend. """
if 'http' not in hass.components:
if 'http' not in hass.config.components:
_LOGGER.error('Dependency http is not loaded')
return False