core: Met.no doesn't load after updating to 2021.4.0

The problem

After updating the 2021.4.0, met.no doesn’t load with the below error. I have to manually reload the integration, only then it starts working. My location is set up correctly. The only thing that comes to my mind is this PR https://github.com/home-assistant/core/pull/48741 My location is set up using UI, not yaml. Is it possible that this PR checks for location in the yaml but skips UI? Though, I don’t have anything like this in my logs.

What is version of Home Assistant Core has the issue?

core-2021.4.0

What was the last working version of Home Assistant Core?

core-2021.2.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Met.no

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-04-08 06:14:45 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned 
2021-04-08 06:14:45 DEBUG (MainThread) [homeassistant.components.met] Finished fetching met data in 83.126 seconds

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (5 by maintainers)

Most upvoted comments

Thanks, will fix it in next release of HA. Edit: The fix will increase the time before timeout. So it might still happen if the met.no server takes a long time to respond.