Move hass.local_api and hass.components to config object
This commit is contained in:
1 parent
609064b9d8
commit
58812b326c
11 files changed
+39
-23
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user