File tree Expand file tree Collapse file tree
homeassistant/components/squeezebox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030_LOGGER = logging .getLogger (__name__ )
3131
3232
33- class LMSStatusDataUpdateCoordinator (DataUpdateCoordinator ):
33+ class LMSStatusDataUpdateCoordinator (DataUpdateCoordinator [ dict [ str , Any ]] ):
3434 """LMS Status custom coordinator."""
3535
3636 config_entry : SqueezeboxConfigEntry
@@ -59,13 +59,13 @@ async def _async_setup(self) -> None:
5959 else :
6060 _LOGGER .warning ("Can't query server capabilities %s" , self .lms .name )
6161
62- async def _async_update_data (self ) -> dict :
62+ async def _async_update_data (self ) -> dict [ str , Any ] :
6363 """Fetch data from LMS status call.
6464
6565 Then we process only a subset to make then nice for HA
6666 """
6767 async with timeout (STATUS_API_TIMEOUT ):
68- data : dict | None = await self .lms .async_prepared_status ()
68+ data : dict [ str , Any ] | None = await self .lms .async_prepared_status ()
6969
7070 if not data :
7171 raise UpdateFailed (
You can’t perform that action at this time.
0 commit comments