A rent discount can sound like easy money, especially when winter utility bills are brutal. But if your landlord says the deal depends on not using the heat after 10 p.m., that is where a seemingly clever bargain can crash into housing law. In many places, landlords cannot waive basic habitability duties, even if a tenant agrees on paper.