Skip to content

Optimize history_stats efficiency and database usage#7858

Merged
balloob merged 1 commit into
home-assistant:devfrom
bokub:dev
Jun 2, 2017
Merged

Optimize history_stats efficiency and database usage#7858
balloob merged 1 commit into
home-assistant:devfrom
bokub:dev

Conversation

@bokub
Copy link
Copy Markdown
Contributor

@bokub bokub commented Jun 1, 2017

Description:

Change various things on the history_stats component, mostly for optimization:

Related issues:-

Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.io#2733

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@balloob
Copy link
Copy Markdown
Member

balloob commented Jun 2, 2017

Thanks 🐬

@balloob balloob merged commit 1b5f6aa into home-assistant:dev Jun 2, 2017
@balloob balloob mentioned this pull request Jun 2, 2017
bokub referenced this pull request in bokub/ha-history-stats Aug 22, 2017
Round 'value' to the minute
@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

History Statistics Sensor is permanently consuming high amounts of CPU load

4 participants