-
-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Before submitting a new issue
- I redownloaded the latest release and restarted Home Assistant
- I've checked known issues
- I've enabled debug logs and attached the relevant logs to this ticket
- I tried generating test data and attaching it
Problem description
I got daily warnings about missing unit of measurement. My Energy Dashboard works for one day, in the night it breaks down
Logs
Logger: homeassistant.components.sensor
Quelle: components/sensor/init.py:729
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 18:01:41 (3 Vorkommnisse)
Zuletzt protokolliert: 18:01:41
Entity sensor.XXXXX_device_2_sensonet_earned_pv_energy_pv (<class 'custom_components.mypyllant.sensor.DataSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; expected one of ['GWh', 'Wh', 'Mcal', 'GJ', 'kWh', 'MJ', 'J', 'MWh', 'TWh', 'cal', 'mWh', 'kJ', 'kcal', 'Gcal']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/signalkraft/mypyllant-component/issues
Entity sensor.XXXXX_device_2_sensonet_grid_feed_in_energy_pv (<class 'custom_components.mypyllant.sensor.DataSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; expected one of ['GWh', 'Wh', 'Mcal', 'GJ', 'kWh', 'MJ', 'J', 'MWh', 'TWh', 'cal', 'mWh', 'kJ', 'kcal', 'Gcal']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/signalkraft/mypyllant-component/issues
Entity sensor.XXXXX_device_2_sensonet_self_consumed_energy_pv (<class 'custom_components.mypyllant.sensor.DataSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; expected one of ['GWh', 'Wh', 'Mcal', 'GJ', 'kWh', 'MJ', 'J', 'MWh', 'TWh', 'cal', 'mWh', 'kJ', 'kcal', 'Gcal']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/signalkraft/mypyllant-component/issues
Put your debug logs here
Be careful not to include tokens, emails, and other personal information