Site: nolo.com
... The answer depends on:
what type of flag it is
where you live, and
how you display the flag. ... For example, if you live in a community with a “federal holiday flag only” rule, you might ... However, as soon as you fly your rainbow flag, you immediately receive an HOA notice demanding you remove ... In such a case, you might not need to comply with the HOA demands if you can show that the HOA routinely ... When You Must Remove Your Flag
If your HOA validly requests you remove your flag, the best thing to do ... Can Your HOA Prohibit You From Flying Your Favorite Flag? ...