'Return current activity.'

def update(self):

    import pyharmony
    name = self._name
    _LOGGER.debug('Polling    %s    for    current    activity', name)
    state = pyharmony.ha_get_current_activity(self._token, self._config, self.host, self._port)
    _LOGGER.debug('%s    current    activity    reported    as:    %s', name, state)
    self._current_activity = state
    self._state = bool((state != 'PowerOff'))
