Updating Entities at timed interval

Hi all,

I am trying to understand how to force HA to update an (scrape) entity every 2 minutes. I’ve tried to following:

Configured the Scrape integration in YAML and configured the scan_interval as 120 seconds.

Confiqured the scapre integration in GUI, disabled the Enable polling for changes on the integration and created an automation that calls the Update entity service(action) every 2 minutes for that scrape entity.

In both situations when I monitor the update time of the scrape entity, it’s random between 2 and 7 minutes that this entity updates.

Is Home assistant throttling this? Is there any documentation that I’ve missed?

Thanks!

Maybe there is no change on the value you are scraping.

1 Like

Thank you for your reply. The data on the scrape site changes at least every 5 minutes. That doesn’t explain the refresh times of 7 minutes.

It does.
But it doesn’t explain the 2 minute intervall you said.

If it updates every five minutes and the change happens just after your 2 minute intervall then it will be 7 minutes

Thanks for explaining. It seems that you are correct about the entity not updating when nothing has been changed to the scrape value. I’ve tried to force it but the entity doesn’t refresh. I will monitor this further.

Cheers!

It will not change if there is no change.