'Get the latest data and updates the states.'

def update(self):

    _LOGGER.debug('Updating    sensor    %s    -    %s', self._name, self._state)
    self.data.update()
    self._state = self.data.state
