If the water in your dishwasher is not at a consistent temperature, it sounds like there could be a problem with the heat pump. Dishwasher Heat Pump & Motor Assembly.
eBay