If Motion Sensor P1 detects motion, then turn on 3517 Smart Switch

Explore more great ways to automate Smart Life and Aqara Home for US