I don't see any

Code: Select all
return
{
active = true
on = {
timer = {
'at 17:29 on fri'
}
},
execute = function(domoticz, timer)
local esperessomachine = domoticz.devices('espressomachine')
if (timer.trigger == 'at 18:45 on thu') then
espressomachine.cancelQueuedCommands()
espressomachine.switchOn()
end
end
}
Thanks in advance.
2020-03-06 17:28:00.413 ...domoticz/scripts/dzVents/generated_scripts/Script #2.lua:4: '}' expected (to close '{' at line 2) near 'on'