THis is mainly a problem of documentation, or lack there of.
I started with Let There Be Light, and changed it so there can be multiple contact devices. So far so good. I want the contacts to act as a perimeter, so that if any of them are opened the light goes on. The problem is when I open two contacts and then close one of them, the light goes off.
I can visualize the solution. When I get a close contact event, I need to check the state of the other contacts before I turn the light off. How can I check the open/close status of contact devices that are defined as multiple: true?
This seems to be a problem similar to there being multiple presence sensors and determining if everyone is gone.