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.
pull/38261/head^2
Kyle Hendricks 2020-07-28 06:03:56 -04:00 committed by GitHub
parent 508fc3fa0e
commit 0a7dc40712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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()

View File

@ -97,7 +97,7 @@ MOCK_CALLS_ENTRY_WS = {
"host": "fake",
"name": "HomeAssistant",
"port": 8001,
"timeout": 1,
"timeout": 10,
"token": "abcde",
}