As kids, we had a small terrier who was a gem of a dog. My mother trained him to get us up in the morning for school, with the dog rousing us according to name as my mother instructed.
Dogs can be pretty bright if they work for you.
My dog would salivate if I spoke one of these words:
“icecream.” ( a special treat)
“beer” ( he loved a cup of beer after hunting game when it was wet and cold.) He would lap it up and immediately hit the sack for a long sleep.
He also developed a distatse for men in uniform becaus of the mailman. He thought anyone in a uniform was the mailman....led to a few situations with border officers when crossing into Canada ......He would go all rowsey bowsey.