From ff59adc66138b6b44710faded1f76f4cb2cec55a Mon Sep 17 00:00:00 2001
From: epenet <6771947+epenet@users.noreply.github.com>
Date: Wed, 10 Jul 2024 09:26:29 +0200
Subject: [PATCH] Adjust type hints for unnecessary returns (#121650)

---
 homeassistant/components/broadlink/updater.py | 2 +-
 homeassistant/components/samsungtv/bridge.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/homeassistant/components/broadlink/updater.py b/homeassistant/components/broadlink/updater.py
index 4faa84dbbee..f1455f5a541 100644
--- a/homeassistant/components/broadlink/updater.py
+++ b/homeassistant/components/broadlink/updater.py
@@ -170,7 +170,7 @@ class BroadlinkRMUpdateManager(BroadlinkUpdateManager[blk.rm]):
 class BroadlinkSP1UpdateManager(BroadlinkUpdateManager[blk.sp1]):
     """Manages updates for Broadlink SP1 devices."""
 
-    async def async_fetch_data(self) -> None:
+    async def async_fetch_data(self) -> dict[str, Any] | None:
         """Fetch data from the device."""
         return None
 
diff --git a/homeassistant/components/samsungtv/bridge.py b/homeassistant/components/samsungtv/bridge.py
index 059c6682857..f9f5b0d6e73 100644
--- a/homeassistant/components/samsungtv/bridge.py
+++ b/homeassistant/components/samsungtv/bridge.py
@@ -321,7 +321,7 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
             LOGGER.debug("Failing config: %s, error: %s", config, err)
             return RESULT_CANNOT_CONNECT
 
-    async def async_device_info(self) -> None:
+    async def async_device_info(self) -> dict[str, Any] | None:
         """Try to gather infos of this device."""
         return None
 
-- 
GitLab