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

native unit of measurement 'W' which is not a valid unit #394

Open
gt026328 opened this issue Jul 11, 2024 · 0 comments
Open

native unit of measurement 'W' which is not a valid unit #394

gt026328 opened this issue Jul 11, 2024 · 0 comments

Comments

@gt026328
Copy link

Version of the custom_component

V 0.13.1

Configuration

Add your logs here.

Describe the bug

Noticed this first time since I'm running now HA V 2024.7.2
A clear and concise description of what the bug is.

Debug log


Add your logs here.

Logger: homeassistant.components.sensor
Quelle: components/sensor/__init__.py:722
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 10. Juli 2024 um 17:48:15 (1 Vorkommnisse)
Zuletzt protokolliert: 10. Juli 2024 um 17:48:15

Entity sensor.mypv_stromverbrauch_aktuell (<class 'homeassistant.components.rest.sensor.RestSensor'>) is using native unit of measurement 'W' which is not a valid unit for the device class ('energy') it is using; expected one of ['kWh', 'Wh', 'GJ', 'MWh', 'MJ']; 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+rest%22
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