diff --git a/src/HABApp/core/shutdown.py b/src/HABApp/core/shutdown.py index d86612f2..c5e37708 100644 --- a/src/HABApp/core/shutdown.py +++ b/src/HABApp/core/shutdown.py @@ -1,6 +1,5 @@ from __future__ import annotations -import logging import logging.handlers import signal import traceback @@ -8,14 +7,13 @@ from dataclasses import dataclass from types import BuiltinMethodType, FunctionType, MethodType from typing import TYPE_CHECKING -from collections.abc import Awaitable from HABApp.core.asyncio import create_task from HABApp.core.const import loop if TYPE_CHECKING: - from collections.abc import Callable + from collections.abc import Awaitable, Callable from typing import Any, NoReturn