Hardwire smoke/carbon monoxide detector

BRK has a relay module you can purchase and integrate with ST via contact sensor. When your the interconnect wire is set, the relay will change the NO/NC wires that a contact sensor can detect.

Many of us on the community have done this: