def start_stop_command(self, details):
    'Starts or stops a process\n    \n    Sends the specified command to the homevision through netio interface to control the specified process.\n    \n    Args:\n      details: {"action": string, "process": string} \n    '
    if ('action' not in details):
        raise Exception('action not specified')
    elif ('process' not in details):
        raise Exception('process not specified')
    if (details['process'] not in self.process_actions.keys()):
        raise Exception(('process not supported. Must be one of: ' + ','.join(self.process_actions.keys())))
    if (details['action'] == 'START'):
        self._handle_action(self.process_actions[details['process']]['START'])
    elif (details['action'] == 'STOP'):
        self._handle_action(self.process_actions[details['process']]['STOP'])
    else:
        raise Exception('action not supported. Must be either "START" or "STOP".')
Starts or stops a process

Sends the specified command to the homevision through netio interface to control the specified process.

Args:
  details: {"action": string, "process": string}
def start_stop_command(self, details):
    'Starts or stops a process\n    \n    Sends the specified command to the homevision through netio interface to control the specified process.\n    \n    Args:\n      details: {"action": string, "process": string} \n    '
    if ('action' not in details):
        raise Exception('action not specified')
    elif ('process' not in details):
        raise Exception('process not specified')
    if (details['process'] not in self.process_actions.keys()):
        raise Exception(('process not supported. Must be one of: ' + ','.join(self.process_actions.keys())))
    if (details['action'] == 'START'):
        self._handle_action(self.process_actions[details['process']]['START'])
    elif (details['action'] == 'STOP'):
        self._handle_action(self.process_actions[details['process']]['STOP'])
    else:
        raise Exception('action not supported. Must be either "START" or "STOP".')