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:
escoand 2020-08-15 20:25:37 +02:00 committed by Paulus Schoutsen
parent 431fe5950c
commit 9ee6ae8f94
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",
}