Turn on Simulated Switch when Motion is detected