When an integration changes from custom to core

I have a general, probably a bit noob, question relating to the title.

If an integration changes from custom to core should I be deleting the custom integration and reloading it from the core? I’m afraid I’ll lose a bunch of sensors/automations based on the custom integration (and they will all have to be recreated) if I have to do that and the entities/sensors in the integration get recreated based on the core version. That would be a major pain.

I realise a custom integration will override that in the core but suspect most custom integrations will not be updated on an ongoing basis compared to that in the core.

Thanks in advance.

Entirely your choice. A custom integration may or may not have feature parity. Review the features of each and make a decision.

Make a backup before changing to the core integration. That way you can easily roll back if you have to.

Thanks for the replies.
Is there an easy way to change over so no ongoing entities/sensors are broken and have to be recreated? Or will you have to delete the custom first, load the core version next and then add back in everything manually.

Which integration are you talking about?