albaintor / homeassistant_electrolux_status

Get the status from your Electrolux Care devices
MIT License
90 stars 22 forks source link

Using native unit of measurement 'W' which is not valid #102

Open matthiasdebaat opened 3 weeks ago

matthiasdebaat commented 3 weeks ago

Thanks for this awesome integration. Today I got this error in my logbook:

sensor.aeg_oven_targetmicrowavepower (<class 'custom_components.electrolux_status.sensor.ElectroluxSensor'>) is using native unit of measurement 'W' which is not a valid unit for the device class ('energy') it is using; expected one of ['kJ', 'GJ', 'Gcal', 'cal', 'Mcal', 'MJ', 'Wh', 'J', 'kWh', 'kcal', 'MWh'];