def set_main_fan(self, main_fan):
if type(main_fan) != int and main_fan not in range(<NUM_LIT:0>, <NUM_LIT:11>):<EOL><INDENT>raise InvalidInput("<STR_LIT>")<EOL><DEDENT>self._config['<STR_LIT>'] = main_fan<EOL>self._q.put(self._config)<EOL>
Set the main fan config.

        :param main_fan: Value to set the main fan
        :type main_fan: int [0-10]
        :returns: None
        :raises: InvalidInput