if i call a global helper function like this
so how can i create a local variable by using the name of a parameterdomoticz.helpers.test(domoticz,'switch A','On','Variable-switch-A')
how can i crete a local variable in that helper function that uses one of the passed information as the name of the local variable
eg
helpers = {
test = function(domoticz, Device, command, variable)
local $variable= "On"
end
so local definition needs to be
local Variable-switch-A="On"