mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Cleanup samsungtv bridge (#67424)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
418808d873
commit
b613008eda
@ -378,9 +378,6 @@ class SamsungTVWSBridge(SamsungTVBridge):
|
|||||||
|
|
||||||
async def async_device_info(self) -> dict[str, Any] | None:
|
async def async_device_info(self) -> dict[str, Any] | None:
|
||||||
"""Try to gather infos of this TV."""
|
"""Try to gather infos of this TV."""
|
||||||
if not self.port:
|
|
||||||
return None
|
|
||||||
|
|
||||||
if self._rest_api is None:
|
if self._rest_api is None:
|
||||||
self._rest_api = SamsungTVAsyncRest(
|
self._rest_api = SamsungTVAsyncRest(
|
||||||
host=self.host,
|
host=self.host,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user