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
This commit is contained in:
blastoise186 2021-06-08 13:20:15 +01:00 committed by Paulus Schoutsen
parent 3a5f51ed7d
commit 880fe82337

View File

@ -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, {})