@autologin<EOL><INDENT>async def set_autoconnect_mode(self, mode):<DEDENT>
modes = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>}<EOL>if mode not in modes.keys():<EOL><INDENT>_LOGGER.error("<STR_LIT>", mode, "<STR_LIT:/>".join(modes.keys()))<EOL>return<EOL><DEDENT>async with self._config_call('<STR_LIT>', modes[mode]) as response:<EOL><INDENT>_LOGGER.debug("<STR_LIT>", mode)<EOL><DEDENT>
Set autoconnect mode.