mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix netgear method return type annotation (#74200)
This commit is contained in:
parent
bef512c425
commit
48c5aab5ee
@ -250,7 +250,7 @@ class NetgearRouter:
|
||||
async with self._api_lock:
|
||||
await self.hass.async_add_executor_job(self._api.reboot)
|
||||
|
||||
async def async_check_new_firmware(self) -> None:
|
||||
async def async_check_new_firmware(self) -> dict[str, Any] | None:
|
||||
"""Check for new firmware of the router."""
|
||||
async with self._api_lock:
|
||||
return await self.hass.async_add_executor_job(self._api.check_new_firmware)
|
||||
|
Loading…
x
Reference in New Issue
Block a user