Sorry; no pics. I was just trying to describe a 'good practice' technique. For a different view, visualize cutting off the bottom couple of inches of the baffle shown in your pics, then making a slightly larger piece that would attach to the engine and to what was left of the baffle. In that piece, drill a hole where the wire would pass (large enough for a grommet). Pick an edge, and cut from there to the hole. You can spread the resulting slit to get the wire & grommet into the hole, then close the slit & attach the piece to both the engine and what's left of the baffle.
Try searching for pics of cooling plenums, and look at how the upper spark plug wires go through the plenum.
A simpler, but harder to find, option is just a large surface area grommet, that fits your wire on the inside diameter and has a large enough outside diameter to fill the hole your sensor (or connector) needs to pass through.