Deprecated Constants - Upcoming changes to Home Assistant
Opened this issue · 1 comments
lk229 commented
I noticed this in my log...
ENERGY_WATT_HOUR was used from ecoflow, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please create a bug report at https://github.com/vwt12eh8/hassio-ecoflow/issues
FREQUENCY_HERTZ was used from ecoflow, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please create a bug report at https://github.com/vwt12eh8/hassio-ecoflow/issues
POWER_WATT was used from ecoflow, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/vwt12eh8/hassio-ecoflow/issues
TEMP_CELSIUS was used from ecoflow, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/vwt12eh8/hassio-ecoflow/issues
ELECTRIC_CURRENT_AMPERE was used from ecoflow, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/vwt12eh8/hassio-ecoflow/issues
Looks like there's quite a bit of time before this takes effect.
Ne0-Hack3r commented
I just noticed the same thing. looks like some tweaks will be needed to avoid things breaking in the future.