'the implementation of the refresh method'

def refresh(self, fields):

    self._set_momentary_timestamp(self._get_timestamp())
    self.counter += self.counter
    self._add_field_momentary_data(self, 'Temperature', self.counter)
