If motion detected by D-Link Motion Sensor , then order Netatmo Thermostat to follow its schedule.