The California Department of Consumer Affairs has tons of information regarding tenant laws. If your rental unit needs repairs, it's the landlord’s responsibility to complete those repairs under the implied warranty of habitability. If it is dangerous at all to stay in your home, your landlord is legally required to find a solution.
This is an important piece of information for anyone currently renting out a property. Knowing what you're responsible for is extremely valuable when disaster strikes. The last thing you want is to get swindled by a sketchy landlord!
If you do find yourself in this situation, according to landlord-tenant law, tenants may withhold rent, move out without 30 days notice, sue the landlord, call health inspectors, or exercise the right to “repair and deduct.”
Know your rights!