If the main breaker panel is outside on wall (not locked)and in sight of a/c unit, can it be used as disconect. Inspector turned down install for no disconect, the main elect panel was on exterior wall next to unit.

If so, what is the NEC reference?


Thanks,
STUD