Allow flexible relayer url (#9939)

pull/9958/head
Paulus Schoutsen 2017-10-17 23:00:36 -07:00 committed by GitHub
parent 9d20a53d63
commit 3700fce859
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ class CloudIoT:
yield from hass.async_add_job(auth_api.check_token, self.cloud)
self.client = client = yield from session.ws_connect(
'ws://{}/websocket'.format(self.cloud.relayer),
headers=headers)
self.cloud.relayer, headers=headers)
self.tries = 0
remove_hass_stop_listener = hass.bus.async_listen_once(