Teslemetry / hass-teslemetry

Teslemetry integration from Home Assistant through HACS
https://teslemetry.com
MIT License
13 stars 7 forks source link

Time to Arrival and Distance to Arrival incorrect when not navigating #26

Closed JumiranK closed 9 months ago

JumiranK commented 9 months ago

Checklist

Describe the issue

When arriving on the destination. The sensor "Time to arrival" is always currentDateTime. What I see with Postman is that the json entity drive_state.active_route_minutes_to_arrival does not exist.

Dived a bit deeper in the issue and I observed that when you cancel navigation. The entries

Using release 1.4.6

Reproduction steps

  1. Navigate to an address
  2. Once arrived observe that with each sensor update the time of arrival changes with the currentDateTime

Debug logs

No response

Bre77 commented 9 months ago

This should be fixed in https://github.com/Teslemetry/hacs-teslemetry/releases/tag/v1.5.0