Closed indomitableMan closed 2 months ago
Hey there @matthewflamm, @kamiyo, mind taking a look at this issue as it has been labeled with an integration (nws
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
nws documentation nws source (message by IssueLinks)
Have you tried upgrading to core 2024.7.1? I can't check the earlier core version, but the latest one works fine for multiple stations that I've tried.
FWIW, I had this issue in 2024.6.x, and it is indeed fixed for me in 2024.7.1.
It is also fixed for me in 2024.7.x. Will close this based on multiple reports of it being fixed.
@home-assistant close
The problem
When attempting to use the National Weather Service (NWS) Integration to get either Hourly or Twice-Daily forecasts using the Weather: Get forecasts call - no information is returned and an "unknown error" message is displayed in the HA web UI.
What version of Home Assistant Core has the issue?
core-2024.6.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
National Weather Service (NWS)
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nws
Diagnostics information
home-assistant-log-NWS-issue.txt
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
The underlying issue appears to be a change in the Python 3.12 pynws package in the file simple_nws.py on line 181 that causes any request for a forecast to the National Weather Service to fail.