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

Wrong state_class dsmr-reader #102994

Closed
the-cyberspace opened this issue Oct 29, 2023 · 2 comments
Closed

Wrong state_class dsmr-reader #102994

the-cyberspace opened this issue Oct 29, 2023 · 2 comments

Comments

@the-cyberspace
Copy link

the-cyberspace commented Oct 29, 2023

The problem

I`m getting this error in the logs after updating to 2023.11.0b2

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:528
Integration: Sensor (documentation, issues)
First occurred: 09:23:23 (1 occurrences)
Last logged: 09:23:23

Entity sensor.dsmr_consumption_gas_currently_delivered (<class 'homeassistant.components.dsmr_reader.sensor.DSMRSensor'>) is using state class 'measurement' which is impossible considering device class ('gas') it is using; expected None or one of 'total', 'total_increasing'; 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+dsmr_reader%22

And i think it has something to do with this: https://github.com/home-assistant/core/pull/102953

What version of Home Assistant Core has the issue?

2032.11.0b2

What was the last working version of Home Assistant Core?

2023.11.0b1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

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

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of dsmr_reader 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 dsmr_reader Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


dsmr_reader documentation
dsmr_reader source
(message by IssueLinks)

@the-cyberspace the-cyberspace changed the title Wrong device_class dsmr-reader Wrong state_class dsmr-reader Oct 29, 2023
@Glodenox
Copy link
Contributor

Duplicate of #102985

@jpbede jpbede closed this as completed Oct 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants