The sentence describes a situation that happens when Grandma visits. The word 'when' is used to indicate the time or condition of an event.
Answer: when