Preheat oven to 350°F. Wash and peel the potatoes. Adjust a mandoline slicer to 1/8 and slice the russet potatoes, sweet potatoes, yellow squash, and onions.
Alternate the slices in an 8" x 10" baking dish and set aside.
Make the cream sauce. Place a large skillet over medium-low heat and add 3 tablespoons of unsalted butter.
When the butter is melted, whisk in 3 tablespoons of all-purpose flour. Whisk the mixture until the roux becomes a light blond color. Whisk in the half and half.
Add the grated white cheddar cheese a little at a time until it is fully incorporated.
Whisk in the sea salt, freshly cracked black peppercorns, onion powder, and smoked paprika.
Reduce the heat to low and cook until the mixture coats the back of a spoon.
Pour the mixture over the sliced potatoes, squash, and onions.
Scatter about half of the grated pecorino cheese over the potatoes, squash, and onions.
Cover the dish tightly with foil and Place the dish in the 350°F oven on the center rack and bake for 45 minutes, until the potatoes are fork-tender.
Remove the foil and continue baking for another 15 minutes to lightly brown and thicken the top.
Remove the potato dish from the oven and evenly scatter the remaining grated pecorino cheese on top, finishing with chopped parsley.
Serve.
Note: If your squash is very moist, lightly salt and pat dry before layering.
For a deeper golden crust, broil the top for about 1-2 minutes at the very end. You will need to stand and watch this so your dish doesn’t burn!
Slice thickness impacts the baking time. Check tenderness before removing from the oven.