Home made door lock sensor

No, it’s connected to the dry contacts on my sensor.