How to remove a deleted Matter device from HA?

I added a Matter enabled Govee light string to Alexa app and from the app, added it to HA. All worked well. Then I did not see any value in adding Matter device like this, so I removed the string from Alexa app.

However, the string still shows up under Matter integration as an unavailable device. There doesn’t seem to be any way to delete it from HA. I removed the Matter integration but as soon as I re-add Matter integration, it adds the device automatically. The entities associated with the device are showing unavailable in HA and the Delete button is greyed out.

How can I delete this device from HA?

Thanks…

After some poking around, I figured it out. Putting it here in case someone else has same issue. In the Settings → Add-Ons, go to Matter Server → Open WebUI. Under Nodes, the removed node will be listed as failed (or something like that). Click on that node and select Remove. This will remove the device and entities.