From eb2d2ce1b39d2c1b098df4307d64ea8afe2a6b8a Mon Sep 17 00:00:00 2001 From: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:47:25 -0400 Subject: [PATCH] Use more observations in NWS (#120687) Use more observations --- homeassistant/components/nws/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/nws/const.py b/homeassistant/components/nws/const.py index ba3a22e5818..381537775da 100644 --- a/homeassistant/components/nws/const.py +++ b/homeassistant/components/nws/const.py @@ -78,8 +78,8 @@ HOURLY = "hourly" OBSERVATION_VALID_TIME = timedelta(minutes=60) FORECAST_VALID_TIME = timedelta(minutes=45) -# A lot of stations update once hourly plus some wiggle room -UPDATE_TIME_PERIOD = timedelta(minutes=70) +# Ask for observations for last four hours +UPDATE_TIME_PERIOD = timedelta(minutes=240) DEBOUNCE_TIME = 10 * 60 # in seconds DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)