Skip to content

Fehlende Einheiten #147

@benkla2000-rgb

Description

@benkla2000-rgb

Before submitting a new issue

  • [x ] I'm using the latest version of myPyllant
  • [ x] I've checked known issues
  • [ x] I'm sure this problem is about the myPyllant library. For issues with the home assistant component, open an issue here

Problem description

Please describe what you were trying to do, what happened, and what you expected to happen.

Es fehlen Einheiten für 2 Werte. Zuletzt wurde eine gesetzte einheit im Bugfix nachgeliefert, aber leider fehlen noch 2.

Logger: homeassistant.components.sensor
Quelle: components/sensor/init.py:729
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 5. Februar 2026 um 18:49:41 (2 Vorkommnisse)
Zuletzt protokolliert: 5. Februar 2026 um 18:49:41

Entity sensor.schlagweg_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 ['Gcal', 'kJ', 'GJ', 'J', 'Mcal', 'cal', 'TWh', 'MWh', 'Wh', 'kWh', 'GWh', 'MJ', 'kcal', 'mWh']; 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.schlagweg_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 ['Gcal', 'kJ', 'GJ', 'J', 'Mcal', 'cal', 'TWh', 'MWh', 'Wh', 'kWh', 'GWh', 'MJ', 'kcal', 'mWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/signalkraft/mypyllant-component/issues

Ein eigenes nachpflegen in der configuration yaml führte leider nicht zum Erfolg:(

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