Put them on the rose bushes.
Coffee grounds are great for: Roses, Hydrangea, Blueberries, Evergreens of any type and Geraniums.
The average yard should have most or all of those plants, so it’s easy to use them up, directly.
Other than that, they go in the compost bucket - except in the winter when I can’t GET to the compost heap - then I toss them in the trash for three months and pray that the local EnviroNazis don’t catch me! ;)
Just being honest.