home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.72k stars 28.87k forks source link

HA Core Issue - sensor.daily_consumed_energy #119445

Open RafAustralia opened 3 weeks ago

RafAustralia commented 3 weeks ago

The problem

Hi brains,

I am having lots of small errors in logs, some warnings and some errors.. one of these is below: could someone help me sort this? Thank you super kindly in advance

Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:325 integration: Sensor (documentation, issues) First occurred: 12:05:11 AM (1 occurrences) Last logged: 12:05:11 AM

Entity sensor.daily_consumed_energy from integration template has state class total_increasing, but its state is negative. Triggered by state -31 with last_updated set to 2024-06-11T14:00:54.423626+00:00

What version of Home Assistant Core has the issue?

core-2024.6.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

sensor.daily_consumed_energy

Link to integration documentation on our website

No response

Diagnostics information

Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:325 integration: Sensor (documentation, issues) First occurred: 12:05:11 AM (1 occurrences) Last logged: 12:05:11 AM

Entity sensor.daily_consumed_energy from integration template has state class total_increasing, but its state is negative. Triggered by state -31 with last_updated set to 2024-06-11T14:00:54.423626+00:00.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

I am first time issues poster - not quite sure how to attack this.. without breaking things.

Additional information

Thank you kindly for any sort of feedback. Appreciated.

home-assistant[bot] commented 3 weeks ago

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)