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:
parent
92adb5d58a
commit
9c6b019ca9
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -97,7 +97,7 @@ MOCK_CALLS_ENTRY_WS = {
|
|||
"host": "fake",
|
||||
"name": "HomeAssistant",
|
||||
"port": 8001,
|
||||
"timeout": 10,
|
||||
"timeout": 8,
|
||||
"token": "abcde",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue