Motion triggered light - turn off delay using a helper timer adjusted through UI

Hello shoaib,

The best way to learn is to just try. Run thru the docs on getting started with the automation editor. If you get stuck, come back with what you have done.

and

The Home Assistant Cookbook - Index.

How to help us help you - or How to ask a good question.