mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 02:37:50 +00:00
Adjust type hints for unnecessary returns (#121650)
This commit is contained in:
parent
5d809f88ba
commit
ff59adc661
@ -170,7 +170,7 @@ class BroadlinkRMUpdateManager(BroadlinkUpdateManager[blk.rm]):
|
|||||||
class BroadlinkSP1UpdateManager(BroadlinkUpdateManager[blk.sp1]):
|
class BroadlinkSP1UpdateManager(BroadlinkUpdateManager[blk.sp1]):
|
||||||
"""Manages updates for Broadlink SP1 devices."""
|
"""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."""
|
"""Fetch data from the device."""
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -321,7 +321,7 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
|
|||||||
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
||||||
return RESULT_CANNOT_CONNECT
|
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."""
|
"""Try to gather infos of this device."""
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user