Proper way to delete a S wave smoke detector - Z combo

I have a Z combo CO2 and smoke detector Z wave. I’m trying to delete it through the IDE.
This is what I get:

In the smart things app, it says off-line but I can’t delete the device in either the SmartThings app or the IDE What is the right way to do this?

Take a look here

1 Like

if you have a device linked with an app/routine it might give an error like that.

verify at the bottom of the device listing in the ide.