fixing a bug in list of device for temperature