Topic: Switch between hardware inputs and hardware outputs

I am currently working on an application that can control TotalMix and in the start everything worked as expected. I have been able to set the volume and pan and switch between submixes, but now I have run into a problem. I want to change the volume of the hardware outputs, but I cannot grasp how this works. I have been able to switch to the hardware output and change the volume, but then I cannot switch back to the hardware inputs. It seems like I am stuck and cannot come back. The code posted below works as expected, but after that I want to switch back to the inputs.

The code below is the one that I use to switch to the hardware outputs:

osc_message = OSC.OSCMessage()
        osc_message.setAddress("/1/busInput")
        osc_message.append(float(0))
        self.client.send(osc_message)

        osc_message = OSC.OSCMessage()
        osc_message.setAddress("/setBankStart")
        osc_message.append(float(0))
        self.client.send(osc_message)

        osc_message = OSC.OSCMessage()
        osc_message.setAddress("/1/volume3")
        osc_message.append(float(volume))
        self.client.send(osc_message)
        

The code I use to try to switch back to the hardware inputs looks like this:

        
        osc_message = OSC.OSCMessage()
        osc_message.setAddress("/1/busInput ")
        osc_message.append(float(0))
        self.client.send(osc_message)

        osc_message = OSC.OSCMessage()
        osc_message.setAddress("/setBankStart")
        osc_message.append(float(1))
        self.client.send(osc_message)

Does anyone know how to switch back to the inputs? Am I doing something wrong or is it just not possible to switch between the two?