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)
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?