With diversion of part of fluid to heat or cool the device or its contents