hacf-fr / hassRenaultZE

🚗 Renault ZE sensor for home assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Statistics

vlebeau60 opened this issue · comments

Version 3.0.8
HA core-2021.10.6

In Developer tools \ Statistics

I have an issue on the identity sensor.zoe_charging_power
The unit ('kW') of this entity doesn't match a unit of device class 'energy'.

image

From https://www.home-assistant.io/integrations/sensor/
energy: Energy in Wh or kWh
power: Power in W or kW

The custom component is obsolete - please remove it from your system.
There is now a core component available without the need for a custom component.

@epenet perhaps we should make the deprecation clear in readme, in documentation and in a warning if someone is loading it in HA

Yes it is planned.
I also want to merge the latest core code into the custom component in case we need to make some tests, but time is hard to come by.

I have removed hacs component
After, i have add the integration.
It's ok, no error in Statistics
Thanks