mirror of
https://github.com/home-assistant/core.git
synced 2026-09-09 02:35:38 -05:00
Address late QNAP QSW strict typing comments (#71628)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -31,10 +31,9 @@ class QswUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
||||
_LOGGER,
|
||||
name=DOMAIN,
|
||||
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."""
|
||||
async with async_timeout.timeout(QSW_TIMEOUT_SEC):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user