Successfully Automating My Smart Lock for Peace of Mind

Hi everyone, I wanted to share my recent success in setting up an automated routine for my smart lock. It’s been a game-changer for my home security!A few weeks ago, I noticed that my family and I were forgetting to lock the door consistently, especially at night. This became a concern, so I decided to leverage my Home Assistant setup to create a reliable automation.My goal was simple: ensure the door locks automatically at 11 PM, but still allow it to unlock for my family if they come home after that time. The challenge was making sure it wouldn’t interfere with our daily routines or accidentally lock while someone was still inside.After some research and trial and error, I configured the automation using the following logic:- At 11 PM sharp, the lock engages if it’s currently unlocked.- If someone unlocks the door after 11 PM, it automatically re-locks after 10 minutes.The process involved setting up time-based triggers and state conditions. I also made sure to test each part thoroughly to avoid any hiccups. The best part? It integrates seamlessly with our existing presence detection system, so it only acts when needed.This setup has given me peace of mind, knowing our home is secure without any extra effort. It’s a great example of how smart home technology can simplify and enhance our lives.If anyone has questions about setting up similar automations or wants tips on troubleshooting, feel free to reach out! I’m happy to share my step-by-step process or help troubleshoot any issues.Looking forward to hearing about your smart home projects too! :rocket: