def __init__(self, config_path=None, user_path="<STR_LIT:.>", cmd_line="<STR_LIT>"):
if config_path is None:<EOL><INDENT>config_path = self.getConfigPath()<EOL><DEDENT>if config_path is None:<EOL><INDENT>raise LibZWaveException("<STR_LIT>")<EOL><DEDENT>self._config_path = config_path<EOL>if user_path is None:<EOL><INDENT>user_path = "<STR_LIT:.>"<EOL><DEDENT>self._user_path = user_path<EOL>if cmd_line is None:<EOL><INDENT>cmd_line="<STR_LIT>"<EOL><DEDENT>self._cmd_line = cmd_line<EOL>self.create(self._config_path, self._user_path, self._cmd_line)<EOL>
Create an option object and check that parameters are valid.

:param device: The device to use
:type device: str
:param config_path: The openzwave config directory. If None, try to configure automatically.
:type config_path: str
:param user_path: The user directory
:type user_path: str
:param cmd_line: The "command line" options of the openzwave library
:type cmd_line: str