How to support and maintain authors of custom code?

Complaints about that...

But the emphasis of my post is meant to be on a solution, not the complaining part. I just posted one solution. I'm not perfect and therefore others think different about it. That's good. I just want us all to think and maybe come up with a proper solution, or multiple ones. And because it's also in the best interest of the Hubitat company I hope you'll help with it.