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.82k stars 30.08k forks source link

Tomorrow.io will not start #75465

Closed SGXander closed 2 years ago

SGXander commented 2 years ago

The problem

Since noon today, tomorrow.io integration has not updated and will not start on HA restart.

What version of Home Assistant Core has the issue?

2022.7.5

What was the last working version of Home Assistant Core?

2022.7.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

tomorrow.io

Link to integration documentation on our website

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

Diagnostics information

Integration does not offer diagnostic download option

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Config entry 'Tomorrow.io - Home' for tomorrowio integration not ready yet; Retrying in background

Additional information

curl to the api url from the home assistant VM and another host inside network provides results so this does not appear to be an issue with connectivity

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

tomorrowio documentation tomorrowio source (message by IssueLinks)

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

Hey there @raman325, @lymanepp, mind taking a look at this issue as it has been labeled with an integration (tomorrowio) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

drnichols commented 2 years ago

Having same issue as of 16:14 Brisith Summer Time (BST) today. I tried removing and readding the integration and get an error after entering the API key and clicking submit.

'Unknown error occurred'

lymanepp commented 2 years ago

Tomorrow.io API is returning HTTP status code 206 (partial content). My guess is that they changed the API to return 206 when the following warning is returned.

"warnings": [{ "code": 246009, "type": "Missing Time Range", "message": "The timestep is not supported in full for the time range requested.", "meta": { "from": "-6h", "to": "+6h", "timestep": "15m" } } ]

PR https://github.com/raman325/pytomorrowio/pull/24 fixes this locally for me.

lymanepp commented 2 years ago

From tomorrow.io support:

Thanks for reaching out to Tomorrow.io and for reporting this change

I'm not entirely sure why the API is returning a 206 response code today, though I do see complete data looks as though it is being returned. I've reached out to our API team to get a bit more info on what may have changed to generate these new response codes. Apologies for the unexpected change, and I'll reach back out as I have more information as to what generated it.

Thanks, Tomorrow.io Customer Team

lymanepp commented 2 years ago

Keep this open until the dependency is bumped in HA core?

sdrapha commented 2 years ago

Adding the link for tracking:

75478

raman325 commented 2 years ago

sorry, do we need to reopen this or are we good? this auto closed when I merged the linked PR

lymanepp commented 2 years ago

It looks like the problem is resolved for nearly all. I have doubts that the remaining report is related to this issue.

SGXander commented 2 years ago

Confirmed fixed for me thanks guys!