You have the 12V supply to the sub-panel running through the 8ch relay board? If so, then you have a relay, driving a relay, driving a contactor, driving an A/C unit, is this correct?
For the rotary switch from the diagram, it looks like you have it just as a manual on/off for the 24V dc power...