Whereas the squash is baking, in a medium saucepan over medium warmth, warmth the oil till shimmering. Add the onion, garlic, thyme, salt and pepper. Cook dinner, stirring ceaselessly, till tender, about 7 minutes. Add the wine and scale back till the pan is sort of dry, about 3 minutes. Add the lentils and prepare dinner, stirring, till coated within the onion combination, 1 to 2 minutes.