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.97k stars 29.05k forks source link

Ovo Energy - state class 'total_increasing' #114234

Closed Bigglesuk closed 2 months ago

Bigglesuk commented 3 months ago

The problem

In the log there is an error message:

_Logger: homeassistant.components.sensor Source: components/sensor/init.py:575 integration: Sensor (documentation, issues) First occurred: 10:50:24 am (2 occurrences) Last logged: 10:50:24 am

Entity sensor.ovo_last_electricity_cost (<class 'homeassistant.components.ovo_energy.sensor.OVOEnergySensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+ovo_energy%22 Entity sensor.ovo_last_gas_cost (<class 'homeassistant.components.ovo_energy.sensor.OVOEnergySensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+ovo_energy%22_

I've fully removed the integration, and clean restart and added again, but it still comes back with the same log message so i assume this is a correctly an error with the state class and i'm reporting it as suggested.

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

OVO Energy

Link to integration documentation on our website

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

Diagnostics information

home-assistant_ovo_energy_2024-03-26T11-16-13.485Z.log

Example YAML snippet

N/A configured through UI

Anything in the logs that might be useful for us?

No response

Additional information

I've noticed this has been happening for a while but after cleaning up other issues in my HA install log, I've finally decided to address this.

home-assistant[bot] commented 3 months ago

Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration (ovo_energy) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `ovo_energy` 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 ovo_energy` 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)


ovo_energy documentation ovo_energy source (message by IssueLinks)

home-assistant[bot] commented 3 months 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)