async def test_adaptive_lighting_time_zones_with_default_settings(
    hass,
    lat,
    long,
    timezone,
    reset_time_zone,  # pylint: disable=redefined-outer-name
):
    """Test setting up the Adaptive Lighting switches with different timezones."""
    await async_process_ha_core_config(
        hass,
        {"latitude": lat, "longitude": long, "time_zone": timezone, "country": "US"},
    )
    _, switch = await setup_switch(hass, {})
    # Shouldn't raise an exception ever
    await switch._update_attrs_and_maybe_adapt_lights(
        context=switch.create_context("test"),
    )
Test setting up the Adaptive Lighting switches with different timezones.
tests/test_switch.py