Can Landlord Charge For Furnace Repair?

Can Landlord Charge For Furnace Repair? If something happens that makes the property uninhabitable (which would be the case with a defective heating system), the landlord is typically responsible for fixing the problem, without deducting the cost from the tenant’s security deposit or raising the tenant’s rent. How long does a landlord have to fix