'Retrieve latest state.'

def update(self):

    try:
        format_str = ('fahrenheit' if (self.temp_unit == TEMP_FAHRENHEIT) else 'celsius')
        sensor_value = self.temper_device.get_temperature(format_str)
        self.current_value = round(sensor_value, 1)
    except IOError:
        _LOGGER.error('Failed    to    get    temperature.    The    device    address    mayhave    changed.    Attempting    to    reset    device')
        reset_devices()
