Ramsey does the same thing.
The other night he followed me upstairs when I took the laundry basket up to our bedroom, which he knows is the last thing I do before going to bed. Pretty soon he disappeared and I could hear him barking downstairs. He was sitting in front of DH's recliner letting him know that it was time to go to bed. As soon as DH shut his laptop and got up, he quit barking.