I have a simple question…
Can I do the next in the rules?
if (VirtualSwitch.state == ON) {
MyItem1 changed from OFF to ON
MyItem2.sendCommand(OFF)
}
I have a simple question…
Can I do the next in the rules?
if (VirtualSwitch.state == ON) {
MyItem1 changed from OFF to ON
MyItem2.sendCommand(OFF)
}
I’d move the event to the trigger:
when
MyItem1 changed from OFF to ON
then
if (VirtualSwitch.state == ON) {MyItem2.sendCommand(OFF)
}
end
OMG!!!
Thanks, now works great!!!