My question involves landlord-tenant law in the State of: California

My wife, two-year-old daughter, and I live in a single family rental home in California. Two weeks ago, we discovered a water leak in the kitchen that was determined to be a slab leak. We were told to move out and into a hotel, which we did. 9 days later we were told that the plumbing repairs were complete, the water damage was treated, and we were clear to move back in. The entire house had been re-piped through the attic and down the walls. We arrived to find numerous holes throughout the house in the drywall and a heat blower still drying a wall in the kitchen. The holes in the drywall were exposing the water pipes, electrical wires, cut copper piping, broken stucco with wire mesh protruding, exposed nails and drywall screws, and other hazards (not to mention the blower was a hazard in itself) not safe for a toddler to be exposed to. I photographed all the concerns and told the property manager that the house was unsafe and not habitable based on the conditions. He disagreed and told us that ultimately it's up to the owner of the house and I to come to a compromise regarding reimbursement for rent.

Since then, 8 more days have passed, and we were told that the drywall had been repaired (not painted). While driving back to the house to move back in, I received a phone call from the contractor who said that the drywall in the kitchen was "wet" and needed to be removed. He cut two large holes in the drywall and heat blowers were again installed to dry the water damage.

My question is this...We feel that we're being reasonable in our concerns about the safety for our daughter and our decision to not move back in until the repairs are completed and the hazards have been fixed or removed. We plan on asking for reimbursement for the days we were not living in the house, which is permited based on our lease agreement. The issue is going to be whether we were reasonable in not moving back in when the property manager said we could, prior to the drywall repairs. Are we being reasonable in our concerns about safety and do they meet the definition of uninhabitable conditions in case we end up in small claims court?