Fix issue with certain Samsung TVs repeatedly showing auth dialog (#38308)

Through some testing with the samsungtvws library, it was determined
that the issue is related to the short read timeout (1s).  Increasing
the timeout to 10s should solve the issue.
This commit is contained in:
Kyle Hendricks authored and GitHub committed 2020-07-28 12:03:56 +02:00
1 parent 508fc3fa0e
commit 0a7dc40712
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ class SamsungTVWSBridge(SamsungTVBridge):
host=self.host,
port=self.port,
token=self.token,
timeout=1,
timeout=10,
name=VALUE_CONF_NAME,
)
self._remote.open()
@@ -97,7 +97,7 @@ MOCK_CALLS_ENTRY_WS = {
"host": "fake",
"name": "HomeAssistant",
"port": 8001,
"timeout": 1,
"timeout": 10,
"token": "abcde",
}