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

+1 -1
View File
@@ -135,7 +135,7 @@ def setup(hass, config=None):
threading.Thread(target=server.start, daemon=True).start())
hass.http = server
hass.local_api = rem.API(util.get_local_ip(), api_password, server_port)
hass.config.api = rem.API(util.get_local_ip(), api_password, server_port)
return True