The nature of motion sensor

Yes. These are PIR (passive infrared) sensors which detect very small changes in heat moving across the lens. So motion is a part of the detection as well. Most of the home automation sensors are of this type.

See the following FAQ (this is a clickable link)