The older version is probably what’s getting you. Other than again trying to flush it out and manually copy/paste, I’m not really sure.
However, the bigger news is that this SmartApp (and all other groovy apps) now has an official expiration date: Sept 30. The End of Groovy Has Arrived
Once that goes through, we’re dead in the water as far as this method goes.
I have made a couple attempts at getting this working with an Edge driver. I think it should work conceptually but will still require running some kind of local server on your network to handle the connection to MyQ. I will see what I can do.