TCA9548A Multiplexer with TSL2591 Light Sensor

I am trying to hook up the TSL2591 light sensor to the TCA9548A multiplexer to the Arduino Uno. I have un the default multiplexer scanner and it found the device.

TCA Port #0
Found I2C 0x29

When I try to run the light sensor example code with the following code added in, before the if statement in the setup, it is not detecting the sensor.

Wire.beginTransmission(0x70);
Wire.write(1 << 0);
Wire.endTransmission();

Here is the code I am currently using.

#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_TSL2591.h>
       
#define TCAADDR 0x70
       
void tcaselect(uint8_t i) {
  if (i > 7) return;
       
  Wire.beginTransmission(TCAADDR);
  Wire.write(1 << i);
  Wire.endTransmission();  
}

Adafruit_TSL2591 tsl = Adafruit_TSL2591(2591);

void displaySensorDetails(void)
{
  sensor_t sensor;
  tsl.getSensor(&sensor);
  Serial.println("------------------------------------");
  Serial.print  ("Sensor:       "); Serial.println(sensor.name);
  Serial.print  ("Driver Ver:   "); Serial.println(sensor.version);
  Serial.print  ("Unique ID:    "); Serial.println(sensor.sensor_id);
  Serial.print  ("Max Value:    "); Serial.print(sensor.max_value); Serial.println(" lux");
  Serial.print  ("Min Value:    "); Serial.print(sensor.min_value); Serial.println(" lux");
  Serial.print  ("Resolution:   "); Serial.print(sensor.resolution); Serial.println(" lux");  
  Serial.println("------------------------------------");
  Serial.println("");
  delay(500);
}

void setup(void) 
{
  Serial.begin(9600);
  
  tcaselect(0);
  if(tsl.begin())
  {
    Serial.println("Found a TSL2591 sensor!");
  }
  else
  {
    Serial.println("No sensor found ...");
  }
  
  displaySensorDetails();
}

void loop(void) 
{ 
}

If anyone has any feedback or tips it would be greatly appreciated!

I see two different I2C addresses there.

I had the 0x70 device which is the multiplexer and I am using that address to scan. From there I and scanning and finding a device at 0x29 (the light sensor). Is this what you mean? If I only need to use one of the two address then can you give me some example code, or make corrections to the code that I added into my post?

I found what I was missing! In my setup at the very beginning i needed the following line of code.

Wire.begin();