'Get the latest data and update the states.'

def update(self):

    self.data.update()
    if (self.data.measurings is not None):
        if ('03' not in self.data.measurings):
            self._state = STATE_UNKNOWN
        else:
            self._state = self.data.measurings['03']['current']
