From a49461a040ee97dcd6743fcbed5a4090476f5e62 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 21 Jan 2023 12:00:12 -1000 Subject: [PATCH] Restore flume scan interval to match app (#86354) To stay under the API limit the device connection is now only checked hourly and notifications are only checked every 5 minutes fixes #82336 --- homeassistant/components/flume/const.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/flume/const.py b/homeassistant/components/flume/const.py index b9192207e75..1889cca8fa5 100644 --- a/homeassistant/components/flume/const.py +++ b/homeassistant/components/flume/const.py @@ -15,10 +15,10 @@ PLATFORMS = [ DEFAULT_NAME = "Flume Sensor" -# Flume API limits individual endpoints to 120 queries per hour -NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=1) -DEVICE_SCAN_INTERVAL = timedelta(minutes=5) -DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=1) +# Flume API limits queries to 120 per hour +NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=5) +DEVICE_SCAN_INTERVAL = timedelta(minutes=1) +DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=60) _LOGGER = logging.getLogger(__package__)