get_gateway_setting()
- Get a gateway setting by its id.
Edit
- params: setting_id (string).
- return: gateway setting (table) or nil in a case of absence of the setting.
Edit
require "core"
local setting = core.get_gateway_setting( "zwave.attempts" )
if setting ~= nil then
print( "setting type: " .. setting.valueType )
end