From b3985d9e70edc217d936eb245748dca83993a1d3 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Wed, 1 Jan 2025 16:03:04 -0800 Subject: [PATCH] set country --- tests/test_switch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_switch.py b/tests/test_switch.py index 022156b3..2d7456ac 100644 --- a/tests/test_switch.py +++ b/tests/test_switch.py @@ -408,7 +408,7 @@ async def test_adaptive_lighting_time_zones_and_sun_settings( """ await async_process_ha_core_config( hass, - {"latitude": lat, "longitude": long, "time_zone": timezone}, + {"latitude": lat, "longitude": long, "time_zone": timezone, "country": "US"}, ) _, switch = await setup_switch( hass, @@ -1944,7 +1944,7 @@ async def test_adapt_until_sleep_and_rgb_colors(hass): lat, long, timezone = (32.87336, -117.22743, "US/Pacific") await async_process_ha_core_config( hass, - {"latitude": lat, "longitude": long, "time_zone": timezone}, + {"latitude": lat, "longitude": long, "time_zone": timezone, "country": "US"}, ) switch, lights = await setup_lights_and_switch( hass,