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 Franck Nijhof committed 2020-07-28 19:32:08 +02:00
1 parent b8d6b20c96
commit f8fbe8dba3
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",
}