Improve type hints in websocket_api tests (#123922)

This commit is contained in:
epenet 2024-08-14 15:54:00 +02:00 committed by GitHub
parent 04598c6fb1
commit e33a7ecefa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ from tests.typing import ClientSessionGenerator
@pytest.fixture
def track_connected(hass):
def track_connected(hass: HomeAssistant) -> dict[str, list[int]]:
"""Track connected and disconnected events."""
connected_evt = []