Though I bought into an hoa for my first investment property in 1994, Lucia is totally correct and I would never do it again. Because she is correct.
You have no control over your property, because IT ISN'T YOURS even if you have no mortgage on it. That property is a share of a corporation, and the rules are set to benefit the CORPORATION. You can't install different windows, better front door, whatever roof you want, patios, fences, awnings, etc, unless they fit the guidelines. You have a range of color choices, often about 5, to choose from when repainting.
The board can and does change the rules, and doesn't necessarily tell the shareholders. Assessments can change (increase) yearly, as much as about 20% of last years, without a vote. There can be emergency assessments, and you have little choice but to pay.
My own hoa has been pretty good. We have few amenities, are not planning any, AFAIK, and the dues are the lowest around. I do carry a "loss" policy ($40K) on my insurance, in case there is a problem.
I sold one house I had in an hoa, and will not buy into another.
FWIW, condo associations are worse.
Ofgift