Combine all ingredients under "for dal" in a pressure cooker and cook for one whistle on meduim flame. Switch off and allow the pressure to go.
In another pan, add the vegetables, onion and tomato with a cup of water and salt and cook on low flame till vegetables are 80% done.
Squeeze out the water off the tamarind and discard the remains. Set aside.
For making the roasted coconut paste, in a frying pan, heat oil. Fry the fenugreek and coriander seeds briefly.
Add the rest of the ingredients and fry till the coconut becomes crisp and golden brown.
Allow to cool and then powder it smooth. Add a little water and make it paste like. Set aside.
Once the vegetables are almost done, add in the cooked dal, the ground paste, tamarind water and asafoetida.
Cook on simmer for 10 minutes or till vegetables are completely cooked. Adjust salt and switch off.
For tempering, In a small saucepan, heat oil, splutter the mustard seeds.
Briefly fry the curry leaves and red chillies before adding to the sambar.
Allow it to stay on closed lid for around 10 minutes for flavors to intermingle.