Does my husband’s dog know I hate it?

I don’t hurt the dog or anything but I hate it immensely, yet it constantly follows me around and wants my attention. I tell it to go away and it listens but it always comes back to me. Does it not know? I thought dogs were good about picking up vibes.