So I'd like to pass a parm (set point) to my Z-wave thermostat in a script. Is it recommended to use hs.PluginFunction or CAPI for this?

Robert