Can some tell me why the rule below triggers the error message shown below it?
rule "Christmas tree ON schedule"
when
Time cron "0 0 17 * * ? *" or
Time cron "0 30 5 * * ? *"
then
Item Baum.sendCommand(ON)
end
Configuration model ‘Christmas.rules’ has errors, therefore ignoring it: [7,2]: mismatched input ‘Item’ expecting ‘end’
I’m running Openhabian1.4 on a Gigabyte Brix with Ubuntu 18.04LTS
Similar rules written in the past work fine, but this one doesn’t.