How Pet Immunity Works in a Motion Detector