'Get the latest data.'

def update(self):

    try:
        response = self._api.get_data_now(channelid=self._channel_id)
        self._state = int(response.power)
        _LOGGER.debug('Updated    power    from    server    %d    W', self._state)
    except OSError as error:
        _LOGGER.warning('Could    not    connect    to    the    ELIQ    Online    API:    %s', error)
