I have attempted to follow the instructions from this thread to utilize my hardwired smoke and CO combination alarms to link to my Smartthings set up.
It was working and I got it to report when I pressed the test button but I realized that I may have wired the set up opposite from how the DTH was written. When I test the wires coming from my relay without any alarms happening they test as being a complete circuit (Normally Closed) but the DTH was written as if they would be Open when no alarm is ocurring and then a closed circuit when the alarm is going off. Thus, my ST appears as if the smoke alarm is constantly going off. Is there a way to modify the DTH to reverse the definition of Clear and Alarm states?
I want the Alarm state to be for when the Sensor reads as “open” and the Clear stat to be for when the Sensor reads as “closed” - how do I modify @vseven DTH to support this? Trying to learn Groovy and not finding much success so far. I have DTH pulled from his Github https://github.com/vseven/SmartThings_VSeven
Thank you for your help!