Good to see the idiot owner adopting a somewhat more reasonable policy. I'm still confused on how the selling of hardware has anything to do with homosexuality.
Doing business with someone can be considered endorsing their lifestyle choice, and also expose other customers with traditional values to a lifestyle choice they disagree with and which conflicts with their faith. We have to respect the freedom of conscience of the other customers of the store and members of the community who do not with to be implicated in sin nor have their children unexpectedly encounter people who are gay and get the wrong message about what's ok and not ok. What he's doing is legal, as others have said, and we have to consider this a legitimate expression of his religious faith (whatever that happens to be.)
We get it: you don't understand religion.