Turning lights off after no motion?

I have 4 Enbrighten Smart Dimmers. I have two of them linked to an Ecolink motion sensor through Smartthings Automation. The Enbrighten Dimmers, the Ecolink motion, and Smartthings work perfectly.
Here is my question. I can get motion to turn the Smart Dimmers on or motion to turn the dimmers off. I can get the motion to turn the Dimmers on for a specific time. How do I get the motion to turn the Dimmers on, but turn them off when motion is no longer detected?

You can do this in automations.

Create a new routine

1 Like

Perfect. Thanks