First, please use the code fences when posting code:
rule “x”
when
Item A received command ON
then
logInfo("TEST RULE","TEST RULE")
B.sendCommand(ON)
end
The logInfo statement will show you if the rule is executed at all in the logs
First, please use the code fences when posting code:
rule “x”
when
Item A received command ON
then
logInfo("TEST RULE","TEST RULE")
B.sendCommand(ON)
end
The logInfo statement will show you if the rule is executed at all in the logs