Child driver multiplied like rabbit

So.. I'm sure this is all my fault. I was trying to get my enerwave rsm2 dual relay to show up with the two switches. I'm able to control it through the device settings page, but have no idea how to make on/of switches for each individual relay. Using this driver:

github/erocm123/Hubitat/blob/master/Drivers/enerwave-rsm2-dual-relay-switch.src/enerwave-rsm2-dual-relay-switch.groovy

I also tried a drive for monoprice relay..

Long story short. I now have 20+ ghost devices...!

20190927_014814|281x499

I should add. I cant delete the driver. The hundreds of ghost devices are no where to be found. Unless I'm trying to make a new tile. Or when I try to delete the driver. Error mentions them all

Is it custom driver code? If so, maybe delete de code?

Yeah. I tried. It wouldn't let me delete it. I ended up fixing it I believe.. I used the import link. And saved a new code over the bad one. Let me save it. They I deleted the relay. Let it sit over night. Then deleted offending driver. All the ghosts disappeared.

Now if I could only figure out this rule for humidity and the relay lol