def METHOD_NAME(self):
    self.store_values(VALUES)
    if self.is_new:
        # Add new dict to configuration (edited dict is already there)
        self.config["devices"].append(self.values)
    # Post configuration back to daemon
    self.post_config()