I would caution against moving back to the unit. You should report the condition to the local housing inspector. You should receive a full rent refund because the unit was not habitable. If the landlord refuses, armed tith the report from the Doctor and the Housing Inspector, you can seek recovery in Small Claims Court.. YOu should recieve your deposit back in accordance with Civil Code Sec. 1950.5, in 21 days. You should have advised your landlord that you were terminating the lease because of the unit was not habitable.
My colleague is correct.
DISCLAIMER: Brandy A. Peeples is licensed to practice law in the State of Maryland. This answer is being provided for informational purposes only and the laws of your jurisdiction may differ. This answer based on general legal principles and is not intended for the purpose of providing specific legal advice or opinions. Under no circumstances does this answer constitute the establishment of an attorney-client relationship. For legal advice relating to your specific situation, I strongly urge you to consult with an attorney in your area. NO COMMUNICATIONS WITH ME ARE TO BE CONSTRUED AS ARISING FROM AN ATTORNEY-CLIENT RELATIONSHIP AND NO ATTORNEY-CLIENT RELATIONSHIP WILL BE ESTABLISHED WITH ME UNLESS I HAVE EXPRESSLY AGREED TO UNDERTAKE YOUR REPRESENTATION, WHICH INCLUDES THE EXECUTION OF A WRITTEN AGREEMENT OF RETAINER.