Generally, California Law requires an apartment or other rental dwelling to be maintained in a condition fit for occupation. This means that the windows, doors, plumbing, electrical system, waste disposal, floors, stairways, and locks must be in good working condition.