Reverse polarity on inputs?

I am not that experienced in making schematics so I hope it makes sense. The bunch on the right is the control box, with the switches being thermostats and the solenoids being the valves.
The bunch on the left is my breadboard with ESP32s and voltage dividers.
The schematic shows how I thought it would go, with the control box having common negative. That's not the case. Instead I'm seeing this: