code: def del_record(self, mem_addr: int):
          
          record = self._records.get(mem_addr)
          if not record:
              _LOGGER.error('Must load the Insteon All-Link Database record '
                            'before deleting it')
          else:
              self._prior_status = self._status
              self._status = ALDBStatus.LOADING
              mem_hi = mem_addr >> 8
              mem_lo = mem_addr & 0xff
              controller = record.control_flags.is_controller
              control_flag = ControlFlags(False, controller, True, False, False)
              addr = record.address
              addr_lo = addr.bytes[0]
              addr_mid = addr.bytes[1]
              addr_hi = addr.bytes[2]
              group = record.group
              data1 = record.data1
              data2 = record.data2
              data3 = record.data3
              userdata = Userdata({'d1': 0,
                                   'd2': 0x02,
                                   'd3': mem_hi,
                                   'd4': mem_lo,
                                   'd5': 0x08,
                                   'd6': control_flag.byte,
                                   'd7': group,
                                   'd8': addr_lo,
                                   'd9': addr_mid,
                                   'd10': addr_hi,
                                   'd11': data1,
                                   'd12': data2,
                                   'd13': data3})
              msg = ExtendedSend(self._address,
                                 COMMAND_EXTENDED_READ_WRITE_ALDB_0X2F_0X00,
                                 userdata=userdata)
              msg.set_checksum()
              _LOGGER.debug('writing message %s', msg)
              self._send_method(msg, self._handle_write_aldb_ack, True)
              self._load_action = LoadAction(mem_addr, 1, 0)
docs: Write an All-Link database record.