I have a problem with my rules file, I thought I would strip it back to the basics, and add the rules one by one to find the problem, however the problem seems to be on the first rule, which actually used to work
This is the error
2019-02-02 08:46:07.289 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.rules'
2019-02-02 08:46:07.304 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'home.rules' is either empty or cannot be parsed correctly!
2019-02-02 08:46:07.605 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.rules'
This is the rules file
var Timer md1Timer = null
val int timeoutMinutes = 10
rule "Downstairs Toilet"
when
Item DownstairsToilet changed from OFF to ON
then
md1Timer = createTimer(now.plusMinutes(timeoutMinutes ), [|
DownstairsToilet.sendCommand(OFF)
md1Timer = null
])
end
Any ideas will be appreciated.
Seve