History_stats integration: scan_interval not respected (anymore) - how to configure sensor update interval?

Recently I discovered that scan_interval: 900 option is not respected (anymore?) for the History Stats integration (History Stats - Home Assistant). Instead, sensors update every 60 seconds.

I thought about “so let’s just deactivate auto update in the UI and manually update the entities with my existing automation for that”. But: this integration is not available to be configured from the UI (yet) :frowning:

I have no idea when this started to not work - or to be honest - if it ever worked so the sensor gets updated only every 900 seconds. Currently the sensor is flooded on every regular sensor update (to be more precise: every 60 seconds, so not every default sensor update which is set to 30 seconds in my case).

Maybe the main question here at the end is:

How to set a scan interval for history_stats sensors?

Any idea?
Or will this topic finally be the top list item of unbelievable Google search “HA questions actually nobody has an answer”… :wink:

Need help with the same problem

1 Like

I think raising this as „issue“ seems to be needed as obviously this topic got no attention at all for months.

—> Issues · home-assistant/core · GitHub

Feel free :+1: