Change state trigger in Hue?

My son has a robot lamp with a Philips Hue light inside and a hue remote so that he can change between colors. I want to set it up so that if there is no “movement” on the light for the last 30 minutes, it will turn off. Is there a way for hass to recognize change (and lack there of), not just on and off, and use that in an automation?

I’m a complete novice so any baby steps explained is appreciated. Thanks.