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

0.2.2: average_electric_consumption classes wrong #253

Open
northalpha opened this issue Mar 12, 2024 · 0 comments
Open

0.2.2: average_electric_consumption classes wrong #253

northalpha opened this issue Mar 12, 2024 · 0 comments

Comments

@northalpha
Copy link
Contributor

Version of the custom_component

0.2.2

Installation method (hacs / manual)

HACS

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

HASSIO

Configuration

...

Describe the bug

average_electric_consumption is using a combination of statce_class and device_class with are not possible.

Debug log


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

Entity sensor.id_3_pro_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_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the author of the 'volkswagen_we_connect_id' custom integration

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

1 participant