[Solved] Cannot delete device

I have a Hub Information device that is returning a blank device details page. All that is on the page is the X to close the page. The device still works as it is being accessed through MakerAPI and the html information is being displayed in sharptools seemingly correctly. So, it hasn't been a big issue for me but lately it has really been making my brain itch and I wanted to fix it. I have repaired the Hub Information files using HPM, no difference. I cannot uninstall the app because I have a device still being used by it. I cannot delete the device because the device details page is blank and the remove button is not there.
I have restored from backups and rebuilt the database. Nothing shows up in the logs. I have put some miscellaneous log messages into the code to make sure that it was actually going through the code and it is and I don't see anything unusual. But I don't know enough to figure out why the details page is not showing. I have other hubitats with the same device working properly on them. The device code matches the code on the hub where it doesn't work right.

I don't really want to spend a much more time on this. It just isn't that important to me. But if I could delete the device somehow, that would be great. I am guessing that there is a url that I could use with the device id to try to delete it. Does anyone know what that would be or any other way to delete the device?
Thanks

Try:

http://<hubIPaddress>/device/forceDelete/<devID>/yes
1 Like

Thank you. Worked perfectly!

2 Likes