Error: EventSystem: in /opt/domoticz/dzVents/runtime/dzVents.lua: ...z/scripts/dzVents/../../dzVents/runtime/EventHelpers.lua:700: attempt to concatenate field 'state' (a nil value)
My workaround is to modify EventHelpers.lua (line 700) from:
Code: Select all
utils.log('Device-event for: ' .. device.name .. ' value: ' .. device.state, utils.LOG_DEBUG ) Code: Select all
if ( device.state == nil ) then
utils.log('Device-event for: ' .. device.name .. ' value: nil ', utils.LOG_DEBUG)
else
utils.log('Device-event for: ' .. device.name .. ' value: ' .. device.state, utils.LOG_DEBUG)
end
but I don't think this is a real solution and I have to do this again after every Domoticz update because this file gets overwritten.
Is this a bug of a feature ?