Washington state does this with some parts of tenant law. There are certain tenant rights about habitability (heating, etc.) that are protected by law, and cannot be nullified by a rental/lease contract, even with consideration. The law states that the tenant legally cannot waive those rights.