State laws govern some of what a homeowners’ association can and can’t do, but the facts of each case are usually what matter most.