A family history of breast cancer is not an immediate contraindication to HRT, although a personal diagnosis is.
If a close relative, such as your grandmother, mother, sister, aunt, etc., has been diagnosed with breast cancer, it is prudent to discuss your predisposition to it as well with your doctor.
Genetic testing may be recommended to see if you are a carrier for the breast cancer gene.