Its not actually a variable, it is a "get" function (aka getter). Basically you start a function with "get", like getSomeFunction
and then you can use it like a variable someFunction
. I am not an expert in this either, I inherited this from my original source material and liked how it was working so I have kept it that way.
You might be better off checking out my ZEN Switch/Dimmer. For those you pre-define all the params in a giant map and then they are dynamically presented in a similar way.
If you really want to use the Universal driver, you could just manually edit the data field that is saved on the device after scanning. That is where all the config info is read from. You could just copy and paste the JSON into a formatter, make edits, then put it back to a string. https://jsonformatter.org/ . You could then just force that in within the driver code or manually edit it using an app like this: [RELEASE] Custom Device Note v2
I have thought about making an export/import feature on the "Scanner" tool to basically do exactly this but there was not a lot of demand before. As this set becomes more popular I will look at expanding it.