Introduced a slave state and added set temperature display