23.04.2021, 10:48
Remove the relevant log call:
Code:
require('json')
data = [[
PUT_JSON_DATA_HERE
]]
objects = json.decode(data).objects
for id, obj in pairs(objects) do
id = tonumber(id)
curr = grp.find(id)
addr = buslib.decodega(id)
if curr and obj.name and curr.name ~= obj.name then
log('name mismatch ' .. addr, curr.name, obj.name)
end
end