midea_ac_lan icon indicating copy to clipboard operation
midea_ac_lan copied to clipboard

Log details (WARNING): Energy Consumption - "Measurement"

Open FancyNerd92 opened this issue 1 year ago • 0 comments

HA core version

2023.12.2

Intergration version

0.3.22

Device type and model

Bosch ACs

Used App

SmartHome

The description of problem

Entity sensor.XXXXXXXXXXXX_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues

The logs

Entity sensor.XXXXXXXXXXXX_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues

FancyNerd92 avatar Dec 14 '23 01:12 FancyNerd92