You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enregistreur: homeassistant.components.sensor
Source: components/sensor/__init__.py:737
intégration: Capteur (documentation, problèmes)
S'est produit pour la première fois: 27 avril 2024 à 22:36:19 (78 occurrences)
Dernier enregistrement: 14:44:00
Entity sensor.battery_current_day_discharge_capacity (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('battery') it is using; expected one of ['%']; 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+mqtt%22
Entity sensor.battery_current_day_charge_capacity (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('battery') it is using; expected one of ['%']; 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+mqtt%22
Additional information
No response
The text was updated successfully, but these errors were encountered:
The problem
Hello,
I've a MQTT message from my Huawei Inverter as of "[Energy storage unit1] Current-day charge capacity" in kWh.
Should I use something else as a device_class or is it possible to have this implemented in Core HA?
Thank you.
Alex.
What version of Home Assistant Core has the issue?
core-2024.4.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
none
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: