Does coffee grounds keep dogs away?

Coffee grounds contain caffeine which isn’t great for dogs, but it’s mostly the strong smell that deters them. As long as they’re not eating it, should be fine.