How to remove old integrations / history

Hi,

i have delted my Philips Hue hub, because I’d rather use eConz integration.

How do I get rid of all the old devices from the system, history?

Hassio, Rasbian Py 3B+

If using step 2 you won’t need to reinstate the integration.

Ok, thanks, I will have a look at it

I know I am reviving an old thread, but the question was interesting.
I deleted an integration (netatmo), including entries in .storage, but if I try again, it still has old data from the integration, so it’s not a clean start. Isn’t t here a way to really flush that from the database?