Fix try_connect in samsungtv (#66653)
* Fix try_connect in samsungtv * Use try...else * Adjust try...else * Undo try...else Co-authored-by: epenet <epenet@users.noreply.github.com>pull/66664/head
parent
0911eb1fba
commit
3b87c01af9
|
@ -303,8 +303,8 @@ class SamsungTVWSBridge(SamsungTVBridge):
|
|||
self.token = remote.token
|
||||
if self.token is None:
|
||||
config[CONF_TOKEN] = "*****"
|
||||
LOGGER.debug("Working config: %s", config)
|
||||
return RESULT_SUCCESS
|
||||
LOGGER.debug("Working config: %s", config)
|
||||
return RESULT_SUCCESS
|
||||
except WebSocketException as err:
|
||||
LOGGER.debug(
|
||||
"Working but unsupported config: %s, error: %s", config, err
|
||||
|
|
Loading…
Reference in New Issue