From 5907129b25a3193d157994fdde3d45525e076588 Mon Sep 17 00:00:00 2001 From: Michal Knizek Date: Mon, 22 Feb 2021 19:30:23 +0100 Subject: [PATCH] Increase tado API polling interval to 5 minutes (#46915) Polling interval of 15 seconds causes high load on tado servers and does not provide enough value to warrant it. tado plans to introduce a rate limit to prevent such misuse of the API, therefore the polling interval needs to be increased to make sure the integration works well in the future. --- homeassistant/components/tado/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index e88fb4c60b8..c7fb180e6d8 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -33,8 +33,8 @@ _LOGGER = logging.getLogger(__name__) TADO_COMPONENTS = ["binary_sensor", "sensor", "climate", "water_heater"] -MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=10) -SCAN_INTERVAL = timedelta(seconds=15) +MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=4) +SCAN_INTERVAL = timedelta(minutes=5) CONFIG_SCHEMA = cv.deprecated(DOMAIN)