core/tests/components/knx/__init__.py
Marc Mueller c1b24e6ba2
Small typing improvements (#126818)
* Add from __future__ import annotations

* Use PEP 695 type aliases

* Fix generator typing
2024-09-26 13:51:27 +02:00

9 lines
246 B
Python

"""Tests for the KNX integration."""
from collections.abc import Callable, Coroutine
from typing import Any
from homeassistant.helpers import entity_registry as er
type KnxEntityGenerator = Callable[..., Coroutine[Any, Any, er.RegistryEntry]]