Heat Ghee in the pan, once when it is hot add all the ingredients under “to temper” and let it splutter
Add curry leaves and Onion. Sauté once in a while and cook for a minute
Add remaining ingredients and mix well cook until the onions are done
Switch off the stove and add coconut