All fixtures, receptacles, equipment, and wiring shall be maintained in a state of good repair, safe, capable of being used and installed, and connected to the source of electrical power in accordance with the adopted electrical code of the city.