foxess_em
foxess_em copied to clipboard
Home Assistant raising a Warning in Logs - ENERGY_KILO_WATT_HOUR unit being used is deprecated
Version of the custom_component
V1.8.0
Configuration
## Describe the bug
Warning being raised in Logs that the unit used is deprecated.
## Debug log
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 14:14:44 (3 occurrences)
Last logged: 14:14:44
ENERGY_KILO_WATT_HOUR was used from foxess_em, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/nathanmarlor/foxess_em/issues