Will it update the coordinates every time they change or do it need to define scan interval or something? Because each time I restart Home Assistant I have to trigger automation manually.
It’s hard to say without knowing what those GPS sensors are but normally in HA a polling sensor will update check for an update every 30 sec (or maybe it is 60 sec) by default, and otherwise a change of a sensor’s will be immediate. In either case, if the value has changed it should cause your automation to trigger.
But maybe just check your syntax of the trigger. I’m not sure about the form you’re using.
I think it should be either of these two options:
- trigger:
platform: state
entity_id: [sensor.uplander_lt_latitude, sensor.uplander_lt_longitude]
- trigger:
platform: state
entity_id:
- sensor.uplander_lt_latitude
- sensor.uplander_lt_longitude