The homeostasis of calcium in heart cells.