mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Better timeout handling in samsungtv integration (#38759)
* handle PlatformNotReady * set timeout in bridge * set timeout in test * Revert "handle PlatformNotReady" This reverts commit 118ee06ba016f88abdf767efdf4ef1eacb4e5caa.
This commit is contained in:
parent
92adb5d58a
commit
9c6b019ca9
@ -250,7 +250,7 @@ class SamsungTVWSBridge(SamsungTVBridge):
|
|||||||
host=self.host,
|
host=self.host,
|
||||||
port=self.port,
|
port=self.port,
|
||||||
token=self.token,
|
token=self.token,
|
||||||
timeout=10,
|
timeout=8,
|
||||||
name=VALUE_CONF_NAME,
|
name=VALUE_CONF_NAME,
|
||||||
)
|
)
|
||||||
self._remote.open()
|
self._remote.open()
|
||||||
|
@ -97,7 +97,7 @@ MOCK_CALLS_ENTRY_WS = {
|
|||||||
"host": "fake",
|
"host": "fake",
|
||||||
"name": "HomeAssistant",
|
"name": "HomeAssistant",
|
||||||
"port": 8001,
|
"port": 8001,
|
||||||
"timeout": 10,
|
"timeout": 8,
|
||||||
"token": "abcde",
|
"token": "abcde",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user