Need Help in Creating Automation

Hello. I need help in writing an automation for my front door lock. The device ID is: lock.front_door_lock

I want to write an automation that closes the lock if it has been open for 5 minutes. Thanks a million.

Hi! Instead of explaining it all over, please read into this documentation. You can also find examples there.

Automating Home Assistant

Also, please look at this:

Good luck! When yo get stuck, please let me know :ok_hand:

Thanks. I was able to write the automation. Appreciate it.

1 Like