This heat pump was stuck in cooling mode due to a bad reversing valve. Replacing the part restored both heating and cooling functions. If your heat pump isn’t switching modes, it may need a professional repair.