You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After a restart of HomeAssistant server, the following message is displayed in Settings > System > Repairs:
The unit of sensor.charger_energy_reactive_import_register has changed
The unit of 'Energy Reactive Import Register' (sensor.charger_energy_reactive_import_register) changed to 'kWh' which can't be converted to the previously stored unit, 'varh'.
If the historic statistic values have a wrong unit, you can update the units of the old values. The values will not be updated.
Otherwise you can choose to delete all historic statistic values, and start over.
To Reproduce
Steps to reproduce the behavior:
Add a OCPP 1.6 chargepoint that offers Energy Reactive Import Register values (I suspect it may be the same with Energy Reactive Export Register or Energy Reactive Import/Export Interval)
Restart HomeAssistant or temporarily lose connection to the charger e.g. network disconnection
The repair message appears and the sensor unit is incorrect:
Expected behavior
Units for Energy Reactive ... sensors do not change and stay in varh like indicated in the OCPP 1.6 documentation:
Additional context
It may be caused by this code but not sure:
Describe the bug
After a restart of HomeAssistant server, the following message is displayed in Settings > System > Repairs:
To Reproduce
Steps to reproduce the behavior:
Energy Reactive Import Register
values (I suspect it may be the same withEnergy Reactive Export Register
orEnergy Reactive Import/Export Interval
)Expected behavior
Units for
Energy Reactive ...
sensors do not change and stay invarh
like indicated in the OCPP 1.6 documentation:Additional context
It may be caused by this code but not sure:
ocpp/custom_components/ocpp/sensor.py
Lines 193 to 202 in f4ed62e
The text was updated successfully, but these errors were encountered: