Door sensor malfunction

Hi
Front door sensor just quit after a few months…first wouldnt’ detect, then chronically telling me it’s open when door is clearly closed, and sensors are properly placed. Tried resetting the camera/removing bridge but no luck. Any advice? I don’t see on Amazon that you can just buy the sensors…