I just discovered the OH 2.x variable (ruleFilename) doesn’t work with OH3.x.
// This must reside at the end of the rule file
rule "Rule File Parsed - default.rules"
when
System started
then
systemStarted.postUpdate(ON)
logInfo("RuleParsed", ruleFilename);
end
sure that you didn’t use a global variable in your DSL file ?
For 2.5.12 I use a global variable with the name ruleFilename. Wouldn’t that be a naming conflict in case OH 2.5.12 itself would support that name and it is defined as variable in a DSL file ?