Adding sensor to Enviro Indoor

I want to add a moisture sensor to an Enviro Indoor using the Qw/St connector. Which file do I need to add code to, to get the device to read the moisture sensor? I can read the sensor using a basic Pico W board but have no idea how the various files on the Indoor module are linked and sequenced.
Thanks. John

Hi, you add your code in in the main.py just after the line reading = enviro.get_sensor_readings()
then update your readings to reading not readings like the example shows in the comments. See this for an example