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

VolkswagenIDVehicleSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None #263

Open
StefanoGiu opened this issue Jun 26, 2024 · 2 comments

Comments

@StefanoGiu
Copy link

Version of the custom_component

1.0

Installation method (hacs / manual)

hacs

Installation method of hass (venv, docker, hassio,...)

venv

Configuration

Add your configuration here.

Describe the bug

Warning in the log

Debug log


2024-06-26 09:35:11.319 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.golf_last_trip_average_electric_consumption (<class 'custom_components.volkswagen_we_connect_id.sensor.VolkswagenIDVehicleSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the author of the 'volkswagen_we_connect_id' custom integration


@PerDeg
Copy link

PerDeg commented Jul 10, 2024

I have the same issue and gets no data from the car because of it.

I guess a fix similar to home-assistant/core#87274 is needed?
Should be more ppl having the same problem? Let me know if i can provide any information that may help, if needed.

@ColinRobbins
Copy link
Contributor

Duplicate of #233 ?

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

3 participants