mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable strict type checks of cloud (#92576)
* Enable strict type checks of cloud * Fix circular import * Address review comments * Apply suggestions from code review
This commit is contained in:
@@ -135,7 +135,7 @@ async def test_setup_existing_cloud_user(
|
||||
|
||||
async def test_on_connect(hass: HomeAssistant, mock_cloud_fixture) -> None:
|
||||
"""Test cloud on connect triggers."""
|
||||
cl: Cloud = hass.data["cloud"]
|
||||
cl: Cloud[cloud.client.CloudClient] = hass.data["cloud"]
|
||||
|
||||
assert len(cl.iot._on_connect) == 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user