Hi,
I have the following rule, related to my lgwebos binding:
rule "testrule"
when
Item PioneerVSX832_Zone1_Power received command ON
then
val actions = getActions("lgwebos","--thing-id--")
if(null === actions) {
logInfo("actions", "Actions not found, check thing ID")
}
end
When this rule is run, i’m getting this error message:
[ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule ‘testrule’: The name ‘getActions’ cannot be resolved to an item or type; line 5, column 16, length 76
I can’t figure out what i’m doing wrong. Looking at the lgwebos docs, this should just work fine. I tried putting that line outside the rule, but the error message is the same.
I’m on 2.3.0, currently just running in windows.
Can someone help me?
Tnx