Reduce memory pressure from history_stats with large data sets (#73289)
Reduce memory pressure from history_stats with large data sets (#73289)


nkgilley/home-assistant,w1ll1am23/home-assistant,mezz64/home-assistant,mezz64/home-assistant,w1ll1am23/home-assistant,nkgilley/home-assistant