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