Allow flexible relayer url (#9939)
This commit is contained in:
1 parent
9d20a53d63
commit
3700fce859
1 file changed
+1
-2
@@ -63,8 +63,7 @@ class CloudIoT:
|
|||||||
yield from hass.async_add_job(auth_api.check_token, self.cloud)
|
yield from hass.async_add_job(auth_api.check_token, self.cloud)
|
||||||
|
|
||||||
self.client = client = yield from session.ws_connect(
|
self.client = client = yield from session.ws_connect(
|
||||||
'ws://{}/websocket'.format(self.cloud.relayer),
|
self.cloud.relayer, headers=headers)
|
||||||
headers=headers)
|
|
||||||
self.tries = 0
|
self.tries = 0
|
||||||
|
|
||||||
remove_hass_stop_listener = hass.bus.async_listen_once(
|
remove_hass_stop_listener = hass.bus.async_listen_once(
|
||||||
|
|||||||
Reference in new issue
Block a user