neillsayers says: They are great for repelling nematodes
That's what I always heard.
apis says: Had Lilac bushes close to a yard with 35 hives in it Never seen a bee in it. Must have been better forage around the bee yard at the time.
That sums it up! If there is something better or they have focused their attention on something else, that 's what they will work. I have an Oregon Grape bush that bloomed for 3-4 weeks. Not a single honey bee, but I sure saw bumblebees gathering nectar and pollen. Some of that behavior is because the nectar source is in an area that is in the shade, as in the case of my Oregon Grape and a currant bush.
Bees are attracted to the colors yellow, white, blue, and purple. Flowers with a nice landing pad are easier for bees to work than something with a double flower head. (Think old fashioned farmstead roses compared to the modern overly bred double roses)
Something inexpensive to plant from seed is Tithonia or Mexican Sunflower and cosmos. They are as easy to start from seed as marigolds. I can't say they will repel any pests but pollinators love them. On Mexican Sunflower I have seen hummingbirds, bees, butterflies and bumblebees. Plant in groups for the best impact.