Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uses ha-historical-sensor for correct historical statistics #410

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

root0x
Copy link

@root0x root0x commented Jan 23, 2025

Description

As suggested by #389 this pull request uses ha-historical sensor.

Motivation and Context

If your smart meter fails to report usage data for some time (1 hour+) the integration currently will sum up all of the missing data points into one statistic. This means that potentially multiple hours usage data is logged as one which is incorrect. This pull request uses the ha-historical-sensor to retroactively add the (previously) missing data points and allow for correct statistics

How Has This Been Tested?

Has been running on my home assistant instance for 1 month now

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants