Kinda Embarrassing but HELP?!

Hey so this is kinda embarrassing but I have a flea problem in my house. My dog got really bad fleas and we have tried everything we can afford. I was told peppermint oil would get rid of fleas if I diluted it in water and put it in a spray bottle and sprayed around the house. Also, I was told I could spray it on my dog and it was harmless. SO HERE IS MY PROBLEM AND QUESTION. My grandmother said it would be harmful for me to breathe it in (since I’m 5 months pregnant). Since it’s diluted and I’m not putting it on me wouldn’t it be safe? Please leave ANY and ALL opinions or facts in the comments!! 👇👇