Layer the coffee with kitchen scraps and browns (like twigs, paper, and leaves), and your leftover grounds will definitely still have a helpful role to play in your compost.
The ideal brown-to-green ratio is around 30:1. As hungry microscopic creatures go to town on the pile's bits and pieces, they prep this nitrogen for plants to use.