Do you intend to run long lengths of wire with those sensors attached directly to the ESP32 GPIO pins?
At the very least you need a strong pullup resistor (4.7K) at each pin.
However you’re connecting long antennae directly to MCU pins, so you run a high risk of at the very least receiving false triggers, and more likely burning out pins or the MCU as time goes on.
Look into opto-isolation.