'Start an activity from the Harmony device.'

def turn_on(self, **kwargs):

    import pyharmony
    if kwargs[ATTR_ACTIVITY]:
        activity = kwargs[ATTR_ACTIVITY]
    else:
        activity = self._default_activity
    if activity:
        pyharmony.ha_start_activity(self._token, self.host, self._port, self._config, activity)
        self._state = True
    else:
        _LOGGER.error('No    activity    specified    with    turn_on    service')
