The conveyance work on, and the operation and inspection of any conveyance located in, or used in connection with, any building owned by the state, a county, or a political subdivision, other than those located within and owned by a city having an elevator code, shall be under the jurisdiction of the department.