Every Indian temple has a story behind it. Many have several stories told by different story tellers and spanning centuries.
Vishnu searching for his beloved Lakshmi, chose the Seshachalam hills as his abode.
Vaishnavi, who was created from the powers of the three supreme goddesses to fight eveil, transformed into the meditating goddess Vaishno Devi.
King Narasimha Deva, i played to Surya for a heir. His prayers were answered in gratitude, he constructed a magnificent temple to the benevolent sun god.