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

Log Error in 2023.2 #17

Closed
maegibbons opened this issue Feb 7, 2023 · 3 comments
Closed

Log Error in 2023.2 #17

maegibbons opened this issue Feb 7, 2023 · 3 comments

Comments

@maegibbons
Copy link

You have probably seen this but thought I would highlight just in case:

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:503
Integration: Sensor (documentation, issues)
First occurred: 05:41:44 (1 occurrences)
Last logged: 05:41:44

Entity sensor.hypervolt_session_carbon_saved (<class 'custom_components.hypervolt_charger.sensor.HypervoltSensor'>) is using state class 'measurement' which is impossible considering device class ('weight') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
@gndean
Copy link
Owner

gndean commented Feb 27, 2023

Thanks for the info. This looks like it might be an issue with Home Assistant core: home-assistant/core#86949
I'm not really sure this sensor is wrong 🤷‍♂️

Let's see if it's fixed in a future version of HA. In any case, I don't think it was have any practical effect.

@gndean
Copy link
Owner

gndean commented Mar 5, 2023

I'm no longer seeing this with 2023.3 so it looks like it was indeed a bug in HA and now fixed.

@maegibbons, can you confirm the same?

@maegibbons
Copy link
Author

Yes not seeing this error any more.

So looks fixed in 2023.3

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

No branches or pull requests

2 participants