You can model a box and call it “Robot_Controller”.
Define input and output signals as boolean behaviors. Also, create properties. After that, write a python script that controls this new component, based on the input signals and properties. This component will act as a mediator.
You can get the behaviors/properties of any component in the layout using the “Robot_Controller” python script. Then do what you want with that component you just got.
I attached a component for you to start developing.