improve detection and handling of miscommunicating temperature sensor