Seeking Help with Automation Loop Crash

Hey everyone, I’m reaching out for some guidance with an issue I’m facing with my home automation setup. I’ve been trying to troubleshoot it for a while now, but I haven’t found a solution yet. Hopefully, someone here can shed some light on what’s going wrong!

So, the problem is with an automation loop that I’ve set up. The goal of this automation is to increase the update frequency of my phone’s GPS location as I get closer to my home. Without this, the updates are too slow for my needs. Here’s a quick overview of how it’s set up:

  • Trigger: The automation is triggered when my proximity to home drops below 2000 meters.
  • Condition: It checks if I’m not already at home.
  • Action: It sends a request to my phone to update its location every 10 seconds until I’m detected as being home.

The issue I’m running into is that after about 15-20 iterations, the loop crashes. I’ve attached a screenshot of the error message I receive, but I’m not seeing any clear logs or tips in the documentation to help me figure out what’s causing this. I’ve tried adjusting the delay and the conditions, but nothing seems to resolve the problem.

I’m really curious if anyone else has encountered something similar or has any suggestions on how to approach this. Maybe there’s a setting I’m missing or a different way to structure the automation to prevent it from crashing. Any advice would be greatly appreciated!

Thanks in advance for your help!