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

integration srp_energy has state class total_increasing, but its state is not strictly increasing #132192

Open
derekmartell opened this issue Dec 3, 2024 · 1 comment

Comments

@derekmartell
Copy link

The problem

My HA logs asked me to post a bug report, but I'm actually unsure what the log is about. The error occurred during the night, I believe while it was updating.. I'm not sure that the srp energy integration is working properly in the first place, because the graphs seem quite odd and as if they only update a few times per 24 hours - I believe that's not proper operation, but I haven't been able to understand if it's working properly or not.

What version of Home Assistant Core has the issue?

core-2024.11.3

What was the last working version of Home Assistant Core?

core-2024.11.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Sensor

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sensor

Diagnostics information

home-assistant_srp_energy_2024-12-03T17-34-19.159Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:317
integration: Sensor (documentation, issues)
First occurred: December 2, 2024 at 12:20:10 AM (1 occurrences)
Last logged: December 2, 2024 at 12:20:10 AM

Entity sensor.srp_energy_home_energy_usage from integration srp_energy has state class total_increasing, but its state is not strictly increasing. Triggered by state 26.9 (27.0) with last_updated set to 2024-12-02T07:16:43.428464+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+srp_energy%22

Additional information

I wasn't able to reproduce the issue, but I included the log file anyways. I only enabled debugging, reloaded the srp integration, disabled debugging, and uploaded this log here.

I feel there's an issue with the srp integration in the first place based on the choppy graphs, but I don't understand what the expected proper operation of an energy integration should look like yet. so forgive me if this is an issue more with the srp energy integration.

@home-assistant
Copy link

home-assistant bot commented Dec 3, 2024

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (sensor) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of sensor can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign sensor Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


sensor documentation
sensor source
(message by IssueLinks)

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

No branches or pull requests

1 participant