Deleting duplicates

Hi folks,

A couple of months back I had some issues with my zWave network. I got some support on discord but I eventually ended up rolling back to a previous backup. What I’ve noticed now is that my zWave integration has too many devices and entities listed.

Currently it shows 79 devices, and 595 entities. I can see there are duplicates in there, for example “Family-Bathroom-Lights” and “Family-Bathroom-Lights (2)”. I’m still using the original zWave integration, but before I start thinking about migrating, I want to tidy this all up.

What is the best approach to deleting a device, and all associated entities underneath it? These duplicates are not devices which physically exist, so I cannot exclude them.

Cheers,
Chris