I really dont like the idea of saying its not a sin to be "attracted" to the same sex. I prefer saying its not a sin to be /tempted/. I do find the difference of words meaningful. I do so because the first option gives people comfort in the situation. It can lead to the idea that its okay to find the same sex attractive as long as you dont act it out, which is not right. We should avoid being lustful entirely.
I mean, yeah that idea can come into you, like seeing someone of the same gender and having that thought "hey he/shes hot". But when that happens, just shake it out, and remind yourself that it is not Gods will. Dont allow yourself to be told that its okay to think it as long as you just dont be gay, that is dangerous thinking. If you can say no to being gay, you can shake the idea that you are attracted to someone you shouldnt be.
And before someone mixes up my comment here and tells you Im saying that you should feel ashamed that this happens to you, I am telling you that I am tempted like you, we all are tempted with evil, but we should not let ourselves be comforted by the fact that we are tempted, but instead remind ourselves that God comes first. Just ignore temptation