I understand not putting out extra-tasty treats for pests, or at least burying it so deeply they can't smell it. (Although they would aerate the pile if they had to tunnel in a few feet to reach the good stuff!)
I think I'll continue putting in only tiny amounts of meat I would otherwise throw away.
I haven't seen any rats or mice, but have been told there are some in the area. We do have squirrles,m and cats who consider anything with loose soil to be their personal cat box.
If they found anything they liked in my compost heap, they put everything back the way it was after raiding it. Maybe the coffee grounds drowned out any "meat" smell.
When I first moved in, my cat was intimidated by the other cats in the new neighbrohood, though they seem even more sedentary than he is. Anyway, he stopped bringing in mice as he had at my last place, so I teased him about it.
The next morning there was quite a big dead rat on the living room rug! Now I don't tease him about his hunting habits.