Hey everyone! I wanted to share a recent success I had with my smart home setup. I’ve been working on automating my house and wanted to create a rule where I get notified when family members arrive home. The goal was to include the name of the device tracker that triggered the event in the notification message. At first, I wasn’t sure how to do this without creating multiple rules for each device tracker, but after some research and trial and error, I figured it out!
Here’s what I did: I used a rule in my automation setup to monitor the state changes of my device trackers. When one of them transitions from ‘not_home’ to ‘home’, it triggers an action. Instead of hardcoding the device name, I used a template to dynamically insert the device tracker’s name into the notification message. This way, I only needed one rule that works for all my device trackers!
The best part is how customizable this setup is. I can now set different messages for different family members or even adjust the notification target based on who’s home. It’s been a great way to make my home automation more personal and efficient.
If anyone has questions about setting this up or needs help troubleshooting, feel free to reach out! I’d be happy to share more details or tips.