From 4eeee795170411d2ae4baeaf105b683b7f12b405 Mon Sep 17 00:00:00 2001 From: Alexander Leisentritt Date: Tue, 7 Dec 2021 13:01:34 +0100 Subject: [PATCH] Change ondilo_ico update interval to 5 minutes (#61153) API has a rate limit of 30 queries per hours, 5 minutes uses 12 queries and leave a reasonable reserve but ensures timestamps of measurements in Home Assistant are about equal to real timestamps --- homeassistant/components/ondilo_ico/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/ondilo_ico/sensor.py b/homeassistant/components/ondilo_ico/sensor.py index e0a07c6fe26..e45f3139529 100644 --- a/homeassistant/components/ondilo_ico/sensor.py +++ b/homeassistant/components/ondilo_ico/sensor.py @@ -89,7 +89,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = ( ) -SCAN_INTERVAL = timedelta(hours=1) +SCAN_INTERVAL = timedelta(minutes=5) _LOGGER = logging.getLogger(__name__)