Skip to content

Fehlende Einheiten #397

@Benno2000-rgb

Description

@Benno2000-rgb

Before submitting a new issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions