Motion Detection Caused by Light Change

My camera views a living room. When a lamp turns on or off by way of a light timer, I get motion detection and an alert (if alert notification push is on). There is no actual motion, just a light change. Is there a way to avoid this?