Anything annoying to their senses....I used to use cinnamon sprinkled on my carport . To ward off federal cats As a bonus ir also keeps ants away but it's too expensive for the whole yard so I'd use it close to the house and as Linda says use moth ball flakes. [ You'll have to reapply after rain and don't use a lot, it can burn your grass. ) I use the flakes tp keep snakes away as I live in the country.
Moth balls.... cayenne pepper
Some people say moth ball flakes. But really don't know.
Thanks! Your answer is awaiting moderation.