Do something only if the sensor is low for more than 1 second

Wow thanks, i think its gonna take me a while to figure out whats going on :fearful: