code: def MODE(self, setmode):
          
          if setmode == self.BOOST_MODE:
              self.actionNodeData('BOOST_MODE', True)
          elif setmode in [self.AUTO_MODE, self.MANU_MODE]:
              if self.getAttributeData("BOOST_MODE"):
                  self.actionNodeData('BOOST_MODE', False)
              self.actionNodeData('CONTROL_MODE', setmode)
docs: Set mode.