If the sensor is sending 8N2 and everything else is expecting 8N1, it should work just fine. The stop bits are really just a minimum idle time between the end of one byte and the start-bit of the next byte. So your sensor will be waiting an extra bit-time between each byte it sends — no big deal. The stop bits are indistinguishable from a serial line that’s briefly idle.
Some devices need a bit of time to process a received byte before they can start accepting the next one, and for those devices, you use two stop bits (or sometimes one and a half).