Hi I'm building an automation that polls my Tesla at specific intervals that I have defined. I'm using a Tesla polling helper that a timer.
I made an automation that when the timer get fired, it will update the Tesla location.
Now I want to reset the timer based on it location.
The way I want to do is creating a new automation that if the Tesla location get polled it will evaluate some business logic and set the timer accordingly.
I created a separate automation because I do also want this to get fires if it also a specific distance away from a Bluetooth sensor.
Now my problem is if the car is not moving, it doesn't set a new timer because the last_changed attribute does not change.
I see there is a attribute called last_reported that I want trigger off of. However if I try to use it with the manual event, it blocks me ( for performance reason). How do I use the last_reported attribute. Or is there a better way to do this automation