There’s already an edge Driver which does basically the same thing as the DTH you linked to.
Lots of choices of different kinds of virtual devices, and there are several which can trigger an Alexa routine while also looking like a switch to smartthings so you can easily turn them on and off.
Check it out here (The topic title is a clickable link):