Improve type hints in websocket_api tests (#123922)

pull/123942/head
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
1 changed files with 1 additions and 1 deletions

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 = []