functiontemperature

Return temperature from state