Fix netgear method return type annotation (#74200)
This commit is contained in:
parent
bef512c425
commit
48c5aab5ee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue