Some areas have basic consumer protection. Such as a habitation must be fit to live in.
Renting out an apartment with 2 feet of water in it all times, or black mold, or no water or front door is often covered by specific legislation and then, if not, then by the consumer protection statutes.
Which may be the approach some lawyers will have to take if this gets bad enough.
“I can live in my apartment except for 5 weeks where I have to go someplace else” is what we may start seeing in future civil actions.