Adjust polling interval

This commit is contained in:
Jules 2023-12-26 16:07:30 +01:00
parent 36f0e867e8
commit 25ea45483c
Signed by: jdejaegh
GPG key ID: 99D6D184CA66933A

View file

@ -32,7 +32,7 @@ class IrmKmiCoordinator(DataUpdateCoordinator):
# Name of the data. For logging purposes. # Name of the data. For logging purposes.
name="IRM KMI weather", name="IRM KMI weather",
# Polling interval. Will only be polled if there are subscribers. # Polling interval. Will only be polled if there are subscribers.
update_interval=timedelta(seconds=30), update_interval=timedelta(minutes=7),
) )
self._api_client = IrmKmiApiClient(session=async_get_clientsession(hass)) self._api_client = IrmKmiApiClient(session=async_get_clientsession(hass))
self._zone = zone self._zone = zone