I’ve got a component I’m building that uses the coordinator to setup polling of an API. I am fine with the API only getting polled every 10 minutes (or something else infrequent) until a certain time, which is part of the response from the API. I would like to parse the datetime in the API, and if it is within N minutes of now()
, I’d like to bump the polling interval to every couple seconds.
Does anyone know if it’s possible to change the update_interval
on a DataUpdateCoordinator that has already been created?