mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Allow flexible relayer url (#9939)
This commit is contained in:
@@ -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