From 5fcfdbd33a0f189c41d45160ff65434ed5dbf907 Mon Sep 17 00:00:00 2001 From: The00Dustin <91274634+The00Dustin@users.noreply.github.com> Date: Wed, 17 Apr 2024 03:21:22 -0400 Subject: [PATCH] Update nws.markdown to match current behavior (#32272) * Update nws.markdown to current behavior * Add link to related documentation * Clarify weather entity purpose The old language used "day and night" but had context to make it clear this was a single entity. With the "hourly" verbiage removed, this change should reduce confusion. * Further clarify weather entity purpose Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> * Correct commit of wrong proposal --------- Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> --- source/_integrations/nws.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/nws.markdown b/source/_integrations/nws.markdown index 8fdf756d46b..324c3f21d0a 100644 --- a/source/_integrations/nws.markdown +++ b/source/_integrations/nws.markdown @@ -25,6 +25,8 @@ According to the [API documentation](https://www.weather.gov/documentation/servi 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 website](https://www.cnrfc.noaa.gov/metar.php). Codes with only three characters, for example, `ADW` should be prefixed with the letter K, `KADW`. -Two weather entities are created for each entry in the configuration: one for day and night forecasts and one for hourly forecasts. The hourly forecast entity is disabled after configuration but can be enabled by the user. 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. +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](https://www.weather.gov/documentation/services-web-api). The [pynws](https://github.com/MatthewFlamm/pynws) library is used to retrieve data. + +Details about the `weather.get_forecasts` service are available in the [`weather` documentation](https://www.home-assistant.io/integrations/weather/).