Plant lavender plants alongside the flowers or vegetables under stinkbug attack. Companion planting is a classic organic method, deterring pests without you needing to do much at all. Lavender has the bonus of attracting useful insects, such as bees, as well as deterring stinkbugs.
Drip 20 to 30 drops of lavender essential oil into a spray bottle and top up with water. Shake thoroughly before spraying afflicted plants. If you see any stinkbugs, spray them directly. The lavender oil might kill them.
Drip lavender oil into candles on an oil burner to deter stinkbugs from coming inside or going near your patio. Remember to keep an eye on naked flames to avoid a fire risk.