I tried running a default dzVents script in Domoticz.
Code: Select all
return {
on = {
timer = {
'every minute'},
devices = {
'Alarm'
}},
execute = function(domoticz, device)
domoticz.log('Device ' .. device.name .. ' was changed', domoticz.LOG_INFO)
end
}
The result I got
Error: dzVents: Error: (3.0.2) ...domoticz/scripts/dzVents/generated_scripts/Script #3.lua:16: attempt to concatenate a nil value (field 'name')