From eb98f110d3596e4b45443710924e9528e57d0f0a Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Thu, 16 Jan 2025 14:41:24 +0100 Subject: [PATCH] Fix Vicare patch (#135773) --- tests/components/vicare/test_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/vicare/test_sensor.py b/tests/components/vicare/test_sensor.py index 2356b92f7a7..9b8b69f29db 100644 --- a/tests/components/vicare/test_sensor.py +++ b/tests/components/vicare/test_sensor.py @@ -45,7 +45,7 @@ async def test_all_ventilation_entities( """Test all entities.""" fixtures: list[Fixture] = [Fixture({"type:ventilation"}, "vicare/ViAir300F.json")] with ( - patch(f"{MODULE}.vicare_login", return_value=MockPyViCare(fixtures)), + patch(f"{MODULE}.login", return_value=MockPyViCare(fixtures)), patch(f"{MODULE}.PLATFORMS", [Platform.SENSOR]), ): await setup_integration(hass, mock_config_entry)