Improve type hints in websocket_api tests (#123922)
This commit is contained in:
parent
04598c6fb1
commit
e33a7ecefa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue