Cleanup samsungtv bridge (#67424)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-03-01 20:05:51 +01:00 committed by GitHub
parent 418808d873
commit b613008eda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,9 +378,6 @@ class SamsungTVWSBridge(SamsungTVBridge):
async def async_device_info(self) -> dict[str, Any] | None:
"""Try to gather infos of this TV."""
if not self.port:
return None
if self._rest_api is None:
self._rest_api = SamsungTVAsyncRest(
host=self.host,