mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
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:
parent
502939c430
commit
fa42c676bb
@ -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, {})
|
||||
|
Loading…
x
Reference in New Issue
Block a user