home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

Here Travel Time component uses deprecated protocol #49937

Closed jugla closed 1 year ago

jugla commented 3 years ago

The problem

Here Travel Time component uses HERE V3 protocol whereas it is requested to go to V8. This V3 protocol ends at 2021's end. In a deeper way, in manifest.json , the library herepy==2.0.0 is requested. The author of this library proposes the V8 in version 3.5.0 .

What is version of Home Assistant Core has the issue?

2021.4.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

here_travel_time

Link to integration documentation on our website

https://www.home-assistant.io/integrations/here_travel_time/

Example YAML snippet

- platform: here_travel_time
    name: Home_CommercialCenter_Here_Public_Transportation
    api_key: "xxxxxxxxxxxxxxxxxxx"
    origin_latitude: "48.78096880214132"
    origin_longitude: "2.286129562173117"
    destination_latitude: "48.78521934715194"
    destination_longitude: "2.2160861252742228"
    scan_interval: 1500
    mode: publicTransportTimeTable
    traffic_mode: true

Anything in the logs that might be useful for us?

No response

Additional information

Here the official mail from HERE :

Dear Developer,

You have been identified using deprecated Transit APIs, one or multiple ways:

Above methods of accessing Transit APIs are in maintenance, soon to be deprecated and ultimately going to be decommissioned, latest by end of this year (2021). We kindly ask you to migrate to new unified Transit API V8 to avoid downtime.

Here are few materials and resources our team prepared that can help you:

Best regards, HERE Transit routing team

HERE Europe B.V. Kennedyplein 222-226 5611 ZT Eindhoven, The Netherlands

probot-home-assistant[bot] commented 3 years ago

here_travel_time documentation here_travel_time source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @eifinger, mind taking a look at this issue as its been labeled with an integration (here_travel_time) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

eifinger commented 3 years ago

Thank you for opening a detailed issue. I already got contacted via Twitter regarding this. I will update the integration and also add a config flow.

jugla commented 3 years ago

Thank you !

jugla commented 3 years ago

NB : respect to probot-home-assistant question, I'm the codeowner of worldtidesinfocustom

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

eifinger commented 3 years ago

I want https://github.com/home-assistant/core/pull/51552 merged before working on this issue to reduce the amount of breaking changes

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

eifinger commented 2 years ago

Still active

eifinger commented 2 years ago
scottgrobinson commented 1 year ago

@eifinger Are you still working on this one? Do you have a list of outstanding tasks that you might be happy for someone else to pickup to assist with?

eifinger commented 1 year ago

Yup I'm still working on it and have the PR lined up but am waiting for https://github.com/home-assistant/core/pull/79159

scottgrobinson commented 1 year ago

Thanks - Didn't noticed that linked, much appreciated.