From 301c484e05e5f15a065a020c4e75bce816e91d43 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 24 May 2024 08:31:21 +0200 Subject: [PATCH] Fix vallow test fixtures (#118003) --- tests/components/vallox/test_sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/vallox/test_sensor.py b/tests/components/vallox/test_sensor.py index 8d8389fba80..c16094257f5 100644 --- a/tests/components/vallox/test_sensor.py +++ b/tests/components/vallox/test_sensor.py @@ -20,19 +20,19 @@ def set_tz(request): @pytest.fixture async def utc(hass: HomeAssistant) -> None: """Set the default TZ to UTC.""" - hass.config.async_set_time_zone("UTC") + await hass.config.async_set_time_zone("UTC") @pytest.fixture async def helsinki(hass: HomeAssistant) -> None: """Set the default TZ to Europe/Helsinki.""" - hass.config.async_set_time_zone("Europe/Helsinki") + await hass.config.async_set_time_zone("Europe/Helsinki") @pytest.fixture async def new_york(hass: HomeAssistant) -> None: """Set the default TZ to America/New_York.""" - hass.config.async_set_time_zone("America/New_York") + await hass.config.async_set_time_zone("America/New_York") def _sensor_to_datetime(sensor):