Add a new user key code.

def add_new_key(self, code, name):
        """Add a new user key code."""
        device_json = {"code": code, "name": name}
        return self.api_interface.create_lock_key(self, device_json)