National Weather Service (NWS)
The nws
platform uses the National Weather Service
Configuration
To add the National Weather Service (NWS) integration to your Home Assistant instance, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select National Weather Service (NWS).
-
Follow the instructions on screen to complete the setup.
According to the API documentation
Providing a METAR station code is optional, and if not supplied, the closest station to the latitude and longitude will be chosen. A list of nearby stations is printed to the log with level DEBUG
if no station is supplied. Stations can also be found on the NOAA websiteADW
should be prefixed with the letter K, KADW
.
One weather entity is created for each entry in the configuration. Hourly and day/night forecasts are provided through the weather.get_forecasts
service. The time supplied for each forecast is the start time for the forecast. Sensors are also created as disabled entities after configuration and can be enabled by the user.
Details about the API are available in the NWS API documentation
Details about the weather.get_forecasts
service are available in the weather
documentation.