In my setup, I have several duplicate Things because I was unable to delete existing Things using Remove Thing. So far, I have only been using the UI-based configuration.
In the last case, I lost the connection to my Eve Matter device after updating to 5.2.0.M2. For this reason, I decided to create a new Eve Matter device by:
I set the existing device to “Disabled”
Then I executed “Remove Things.” However, this process was never successfully completed. The Thing status was hanging at Removing Thing
I created a new EVE Matter device by scanning.
So I ended up with to Things of my Eve Matter Device. The actual one enabled and the old (unused one) disabled.
If you go back to the Thing details while it is stuck in the “Removing” status, and press Remove Thing again, that will run the removal with the Force option and the Thing will get completely removed even if the Binding does not properly report the removal.
If all links are deleted first, the Thing can be removed with the first click on “Remove Thing”.
If there are links left, one need to click twice to force the deletion.
But you end up with orphaned links …
I’ve never looked into in detail, but my unscientific impression has always been that it is binding dependent. Sometimes I remove things because I am just getting rid of them and in these cases I have unlinked all channels, and sometimes I am just re-initializing a thing so I have left all the channel links. Some bindings, regardless of linked channels or not, exhibit this behavior every time I try to remove a thing.