mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00

* Add from __future__ import annotations * Use PEP 695 type aliases * Fix generator typing
9 lines
246 B
Python
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]]
|