Better timeout handling in samsungtv integration (#38759)

* handle PlatformNotReady

* set timeout in bridge

* set timeout in test

* Revert "handle PlatformNotReady"

This reverts commit 118ee06ba0.
This commit is contained in:
escoand 2020-08-15 20:25:37 +02:00 committed by GitHub
parent 92adb5d58a
commit 9c6b019ca9
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=10,
timeout=8,
name=VALUE_CONF_NAME,
)
self._remote.open()

View file

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