"Setup failed for discovery: Integration not found"

I’m seeing the above in my logs. It only started appearing recently.

I thought discovery was built in rather than an integration:. My config is simply:

discovery:

Running 2023.9.2

That was a breaking change in I think 2023.8 (could be .7 too) Simply remove discovery: from your configuration.yaml