Pir Motion sensor Logs Motion detected when no motion

The Fresnel lens (the half dome) is part of the sensor, so it must stay attached.
You must turn the time control pot fully anti-clockwise for the shortest release time (3 sec). If you don't do that, then the sensor could stay activated for up to 7 minutes.
Leave the sensitivity control pot in the middle, where it was.

Pull up is not needed.
This simple test sketch should light the builtin LED on movement.

const byte pirPin = 2;

void setup() {
}

void loop() {
digitalWrite(LED_BUILTIN, digitalRead(pirPin));
}