I've setup my reed switches so that when the door is open, the reed switches line up. For my particular reed switches, this means when the door is closed, the state of the GPIO pin is 1 which is a little different from the original implementation so I added the ability to configure the state value in the config.json.
Sorry this went unnoticed for so long. This looks like a great addition. Would you mind updating the README.md file to describe the setting? Then I'll happily merge it.
I've setup my reed switches so that when the door is open, the reed switches line up. For my particular reed switches, this means when the door is closed, the state of the GPIO pin is 1 which is a little different from the original implementation so I added the ability to configure the state value in the config.json.