Contact Sensor

Door sensor.
When the door is open the sensor repeats door closed then door open. This will keep happening until the door is closed.
I have reconnected it.
I have removed and reinstalled from the system.
I have replaced the battery.
What else should I try.

Hey @Welchxtrm1. Could you take a picture of how you have the device placed/mounted, up close to both the magnet and the Contact Sensor?