mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Improve type hints in websocket_api tests (#123922)
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
Reference in New Issue
Block a user