mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Address late QNAP QSW strict typing comments (#71628)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
bf77c000ea
commit
0f41f56998
@ -31,10 +31,9 @@ class QswUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=DOMAIN,
|
name=DOMAIN,
|
||||||
update_interval=SCAN_INTERVAL,
|
update_interval=SCAN_INTERVAL,
|
||||||
update_method=self._async_update,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
async def _async_update(self) -> dict[str, Any]:
|
async def _async_update_data(self) -> dict[str, Any]:
|
||||||
"""Update data via library."""
|
"""Update data via library."""
|
||||||
async with async_timeout.timeout(QSW_TIMEOUT_SEC):
|
async with async_timeout.timeout(QSW_TIMEOUT_SEC):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user