The intergalactic medium temperature and Compton y parameter