The devotion to the Sacred Heart and The Temple of Doom have a lot in common. Except for the whole human sacrifice bit. And the mine train ride. And dessert. And the whole reason for the devotion. And that the movie was really only second in awfulness to the Kingdom of the Crystal Skull (shudder). Even though the love and mercy of the Sacred Heart may forgive Steven Spielberg for these calamities, George Lucas is probably out of luck for his Star Wars prequels.
The devotion to the Sacred Heart, the dedication for the month of June, wasn't a recognizable devotion until the 11th century. Up to that point there had been great devotion to the love of God and the wounds of Christ but not a specific devotion the Heart of Christ.
St. Peter Damien wrote:
It is in the adorable Heart of Jesus that we find every weapon proper to our defense, every remedy for the cure of our ills, the most powerful assistance against the assaults of our enemies, the sweetest consolation to relive our sufferings, the purest delights to crown our souls with Joy.
St. Margaret Mary
The devotion to the Sacred Heart spread but was still a private devotion for the next 600 years. From 1673-1675 St. Margaret Mary Alacoque (feast day Oct 16) had visions that led to the current expression of the devotion. Christ asked St. Margaret Mary to request that the Feast of the Sacred Heart be celebrated on the Friday after the octave of the Feast of Corpus Christi, in reparation for the ingratitude of men for the sacrifice that Christ had made for them.
Initial doubts about the visions delayed any official acceptance of the request until 1765 when the feast was first celebrated in France. In 1856 Pope Pius IX extended the feast to the whole Church.
The interesting thing about the devotion to the Sacred Heart is that, unlike the Rosary, there isn't a specific devotion that encompasses the devotion. People have images of the Sacred Heart enthroned in their homes, they wear scapular medals with the Sacred Heart on one side and Our Lady of Mt. Carmel on the other and some pray the Sacred Heart chaplet.