Dear All,
I would like to bind somehow a switch to a logical combination of other switches. So I would like to indicate if “Anyone at home” or “Everyone at home”.
For example let me say I have two switches in my items file:
Switch MeHome “Me” {channel…}
Switch WifeHome “Wife” {channel…}
An I would like to have two switches like:
Switch AnyoneHome “House is not empty” {channel=MeHome OR WifeHome }
Switch EveryoneHome “Everyone is at home” {channel=MeHome AND WifeHome }
The question is if I can do it with some logical binding similar to tha above pseudo syntax or I only can do it with rules and state changes for example?
If the rule is the only option I think I can implement it. But if I could do some kind of binding to a logical combination of other items please let me know how to do it.
Thank you in advance!