"Export" auto discover to configuration.yaml (and others)

It is a nice suggestion, but it has many issues realising, one of them being that many integrations have ended support for configuration.yaml in favour of config entry support. If a component supports both configuration.yaml and config entry it would still end up back in as a config entry since configuration.yaml entries are imported to config entry system.