Except for occupancy limits on short-term rentals as defined in RCW 64.37.010 and any lawful limits on occupant load per square foot or generally applicable health and safety provisions as established by applicable building code, city ordinance, or county ordinance, a unit owners association may not adopt or enforce a restriction, covenant, condition, bylaw, rule, regulation, provision of a governing document, or master deed provision that regulates or limits the number of unrelated persons that may occupy a unit.
RCW 64.90.575