01.02.2022, 08:45
Like this:
Code:
addr = '0/0/1'
enabled = true
db:update('objects', { disablelog = not enabled }, { id = buslib.encodega(addr) })
script.reloadgroupmonitor()