I didn’t know that there was a word for how I am

Demisexual - a person who does not experience sexual attraction until they form a strong emotional connection with someone, often (but not always) in a romantic relationship.  In general, demisexuals are not sexually attracted to anyone of any gender; however, when a demisexual is emotionally connected to (usually in love with but sometimes feel strongly as friends) someone else, the demisexual experiences sexual attraction and desire, but only towards the specific partner or partners.

According to Rabger’s model, a person who identifies as a demisexual does not experience primary sexual attraction but does experience secondary sexual attraction. In this model, primary sexual attraction is based on outward qualities such as a person’s looks, clothes, or personality while secondary sexual attraction is attraction stemming from a connection, usually romantic, or from status or how closely the person is in relationship to the other.