A direct translation would be: "I love you not because of who you are, but because of who I am when I'm with you."
However, to capture the nuance and emotion, it's best to translate it as:
"I love you, not for who you are, but for who I become when I'm with you."
This translation emphasizes the transformative power of love and how the presence of the loved one brings out the best in the speaker.