mirror of
https://github.com/home-assistant/core
synced 2024-08-06 09:34:49 +02:00
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>
This commit is contained in:
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
Block a user