def METHOD_NAME():
    """Check profile reconfigure works."""
    ep = EnergyProfile(
        input_profile={i: randint(15, 30) for i in range(24)},
        input_profile_uuid="UUID",
        input_energy_rate=3000,
        profile_type=InputProfileTypes.POWER_W
    )
    ep.read_or_rotate_profiles()
    last_profile = ep.profile
    for _, power in ep.profile.items():
        assert power == convert_kW_to_kWh(power_W=3, slot_length=GlobalConfig.slot_length)
    ep.input_energy_rate = 4000
    ep.read_or_rotate_profiles(reconfigure=True)
    assert last_profile != ep.profile
    for _, power in ep.profile.items():
        assert power == convert_kW_to_kWh(power_W=4, slot_length=GlobalConfig.slot_length)