get_setting() Get device setting by its id Call Example Edit core.get_setting() params: setting_id (string). return: setting (table) or nil in a case of an error. Edit require "core" local setting = core.get_setting( setting_id ) if setting ~= nil then print( "setting type:" .. setting.valueType ) end