Skip to content

Commit

Permalink
set country
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jan 2, 2025
1 parent d6ffb5f commit b3985d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b3985d9

Please sign in to comment.