AC and DC disconnect for solar