cgtobi / netatmo_custom

This repo is a custom component from the beta version of the official HA netatmo component
MIT License
13 stars 6 forks source link

Plug Entities - State Class Configuration Incorrect #24

Open Petucky opened 1 year ago

Petucky commented 1 year ago

Hi,

there is an error in HA log:

Entity sensor._power (<class 'custom_components.netatmo.sensor.NetatmoSensor'>) is using state class 'total' which is impossible considering device class ('power') it is using; expected None or one of 'measurement'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Maybe it could be linked with updating of power stats as reported here: [#19] (https://github.com/cgtobi/netatmo_custom/issues/19)

Thanks, Peter

Petucky commented 1 year ago

this has been fixed in core netatmo integration, more info here: https://github.com/home-assistant/core/pull/92468