dvd-dev / hilo

Home Assistant Hilo Integration via HACS
MIT License
127 stars 26 forks source link

Nouveau warning sensor measurement class #221

Closed ic-dev21 closed 1 year ago

ic-dev21 commented 1 year ago

Describe the bug

Nouveau warning dans le log Entity sensor.hilo_energy_salon (<class 'custom_components.hilo.sensor.EnergySensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

ic-dev21 commented 1 year ago

Fix préparé en test pour 24h m’assurer que le rollover marche bien à minuit. Fonctionne avec un restart, un reload et une réinstallation. J'attends que les pre-commit/linting etc. roulent.

ic-dev21 commented 1 year ago

Closed by PR #223