code: def set(self, key, value):
          
          if self._component.get(key, raw=True) != value:
              self._component[key] = value
              self._main_config.dirty = True
docs: Set a value in the component.
  
          Arguments:
          key - the key to set
          value - the new value