In OH2, in trying to work out a rule, I added to my items file a generic TestSwitch like below
Switch TestSwitch "Test Switch"
The Switch is not associated with any kind of binding or group.
I add the switch to my sitemap and it shows there. But when I toggle it On and Off, I do not see any kind of entries in the log on it? So I’m sorta stuck in confirming if this rule is working
rule "Testing"
when
TestSwitch received update
then
if (TestSwitch.state==ON) {
sendCommand(FF_Light_FamilyLeft,ON)
}
end