pictures would help.
is it a hardwired system ? seems a bit weird to use a metal door contact on an interior door. usually just white plastic https://www.amazon.com/QWORK-Surface-Mounted-Magnetic-Window-Contact/dp/B08FT91C1G/