When a fire hazard can justify leaving
Possibly. California law recognizes that when a rental becomes truly unsafe and the landlord will not fix it, a tenant may have grounds to move out — but this is a serious step with legal requirements.
The concept is called "constructive eviction": if a dangerous condition, like a severe fire hazard the landlord ignores, effectively forces you out of a home you can no longer safely occupy, you may be able to end the lease. This usually requires that the problem be serious, that you gave the landlord written notice and time to repair, and that the landlord failed to act.
Moving out without meeting these conditions can leave you owing rent or facing other claims, so documentation and timing matter. A fire inspector's report noting the hazard can strongly support your position.
Before you give notice or move out, it is smart to confirm your situation qualifies. A free, confidential review can look at your facts and help you understand whether breaking the lease is a safe option for you.
This is general information about California tenant rights, not legal advice. Every situation is different.