Fix generic HassJob typing (#111973)

This commit is contained in:
Marc Mueller 2024-03-01 20:51:45 +01:00 committed by GitHub
parent bdfd272dc0
commit daf8d1939b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -990,7 +990,7 @@ async def _handle_entity_call(
async def _async_admin_handler(
hass: HomeAssistant,
service_job: HassJob[[None], Callable[[ServiceCall], Awaitable[None] | None]],
service_job: HassJob[[ServiceCall], Awaitable[None] | None],
call: ServiceCall,
) -> None:
"""Run an admin service."""