Temperature conditions aren't the deciding factors in types of precipitation.
Hail can only form in thunderstorms or Cumulonimbus clouds, while snow can form in a thunderstorm or any rain-bearing cloud.
Types of precipitation are also affected by pressure.