Closed SGXander closed 2 years ago
tomorrowio documentation tomorrowio source (message by IssueLinks)
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)
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'
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.
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
Keep this open until the dependency is bumped in HA core?
Adding the link for tracking:
sorry, do we need to reopen this or are we good? this auto closed when I merged the linked PR
It looks like the problem is resolved for nearly all. I have doubts that the remaining report is related to this issue.
Confirmed fixed for me thanks guys!
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?
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