GE Z-Wave switch dropped off hub

One of my GE Z-Wave switches seems to have dropped off my hub. It wouldn’t respond to any command and showed as “inactive” in the web interface. Not sure what happened.

I tried popping the little switch out and sticking it back in, but that didn’t help. I then tried just adding it as a new device, and the hub instantly discovered it as a new switch. I’m not sure if resetting the little switch made that happen or else somehow it was already disassociated from the hub.

Either way, my problem now is that I’ve got SmartApps attached to the old/inactive instance of the switch, and it would be nice if I could somehow “transfer” the ID or whatever of the new working one to the old instance without having to remove/re-add it do all the apps.

Has anyone had any luck with anything like this?