There must be a simple way to do this, but I would like an expression (or method) to tell me whether two light switches are either both on, both off, or otherwise.
Expression to see whether two devices are either on or off
ady624
#2
Try
{[device1:switch] ^^ [device2:switch]}
Should return true only when the two switches are different. ^^ is logical XOR.