The owner shall equip every dwelling for lighting by electricity. Such owner shall provide and maintain light fixtures to provide lighting for all public parts in a dwelling, including the means of egress, for every room, water closet compartment and bathroom in every dwelling unit, and for every water closet without the dwelling unit. In addition to required light fixtures, the owner shall install and maintain such receptacle outlets as may be required by the electrical code. Except as otherwise provided in this code or in the electrical code, the owner may substitute an additional receptacle outlet for a required light fixture in living rooms other than kitchens.