Scrub and peel the squash, retaining the peel. Quarter the squash and scoop out the seeds. Set aside a handful of peels, then place the remaining peels and seeds into a medium-sized saucepan and cover with 1.5 litres of water. Bring to the boil, then simmer for 20 minutes. Strain the stock and set aside
While the stock cooks, preheat the oven to 165°C fan or your air fryer to 140℃
Coat the remaining squash peel in 1 tsp olive oil, season with salt, and place on a baking tray or in the air fryer basket. Bake for 10-15 minutes, or until crispy, moving them regularly so they cook evenly
Heat a large ovenproof frying pan over moderate heat. Add 2 tbsp olive oil and season the pan well with salt. When hot, add the squash wedges, cut-side down, cook until golden brown. Flip, and repeat with the other side. When golden on both sides, turn the wedges onto their curved side. Add a small knob of butter to each wedge, then add the remaining butter to the pan
Transfer the pan to the oven and roast for 10-15 minutes, or until a skewer inserted meets no resistance. Remove from the oven
Meanwhile, add the remaining 2 tsp olive oil to a medium saucepan over a medium heat. When hot, add the diced onion, season well, and cook until almost golden. Add the garlic and cook for 3 minutes
Add the tomato purée and garam masala and cook for 1 minute. Pour in the squash stock and add the lentils. Simmer for 5 minutes, then add the espresso. Cook for a further 5 minutes, then add the walnuts. Cook for another 5 minutes, or until the lentils are al dente. Stir in the parsley
To serve, place the squash wedges onto plates. Spoon over the ragù, add dollops of crème fraîche, and finish with the crispy squash skins