Fix adaptive update interval Tado (#178515)

This commit is contained in:
Erwin Douna
2026-08-08 12:07:57 +02:00
committed by GitHub
parent 34ad44bdec
commit 2d754bc290
2 changed files with 5 additions and 0 deletions
@@ -122,6 +122,7 @@ class TadoDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
self.data["zone"] = zones
self.data["weather"] = home["weather"]
self.data["geofence"] = home["geofence"]
self.data["rate_limit"] = self.get_rate_limit()
refresh_token = await self.hass.async_add_executor_job(
self._tado.get_refresh_token
@@ -76,6 +76,10 @@
'presence': 'HOME',
'presenceLocked': False,
}),
'rate_limit': dict({
'per-day': 1000,
'remaining': 100,
}),
'weather': dict({
'outsideTemperature': dict({
'celsius': 7.46,