Improve type hints in websocket_api tests (#123922)
parent
04598c6fb1
commit
e33a7ecefa
|
@ -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 = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue