mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Allow flexible relayer url (#9939)
This commit is contained in:
parent
9d20a53d63
commit
3700fce859
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user