Gravity Photoelectric Water Level sensor to Grove Nano Shield

Hi there,

I hope everyone is having a pleasant Sunday. I’m trying to set up a “smart” coffee maker system with an Arduino nano rp2040, running micropython, and on the first iteration, I’m using a grove shield connected to a grove relay and a Gravity: Photoelectric High Accuracy Liquid Level Sensor for Arduino (5V) - DFRobot. I have an adapter cable but I’m unsure how to connect it. Ground and 3.3v are self-explanatory, but I’m uncertain if I should connect the white or yellow wire to the signal from the sensor (green). I’m thinking is the yellow one but can you give me a hand? I’m pretty much a noob when it comes to Arduino and micropython.

Thanks!