From fa42c676bb095d0dcbc254abc37b4ad1acbe429f Mon Sep 17 00:00:00 2001 From: blastoise186 <40033667+blastoise186@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:20:15 +0100 Subject: [PATCH] Reduce ovo_energy polling rate to be less aggressive (#51613) * Reduce polling rate to be less aggressive The current polling rate is too aggressive for the purpose, this commit reduces it to 12 hours to play nice with OVO. * tweak polling to hourly --- homeassistant/components/ovo_energy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/ovo_energy/__init__.py b/homeassistant/components/ovo_energy/__init__.py index 18414db7292..79a8e6138eb 100644 --- a/homeassistant/components/ovo_energy/__init__.py +++ b/homeassistant/components/ovo_energy/__init__.py @@ -64,7 +64,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: name="sensor", update_method=async_update_data, # Polling interval. Will only be polled if there are subscribers. - update_interval=timedelta(seconds=300), + update_interval=timedelta(seconds=3600), ) hass.data.setdefault(DOMAIN, {})