hardbyte / ha-evnex

A cloud-polling Home Assistant component to integrate with an Evnex Charger
MIT License
8 stars 1 forks source link

Update units for HA Core 2024 #22

Open hardbyte opened 6 months ago

hardbyte commented 6 months ago

Warnings after update:

[homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from evnex, 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/hardbyte/ha-evnex/issues
[homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from evnex, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/hardbyte/ha-evnex/issues
[homeassistant.const] ENERGY_KILO_WATT_HOUR was used from evnex, 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/hardbyte/ha-evnex/issues
[homeassistant.const] ENERGY_WATT_HOUR was used from evnex, 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/hardbyte/ha-evnex/issues
[homeassistant.const] FREQUENCY_HERTZ was used from evnex, 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/hardbyte/ha-evnex/issues
[homeassistant.const] POWER_KILO_WATT was used from evnex, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT instead, please create a bug report at https://github.com/hardbyte/ha-evnex/issues
[homeassistant.const] POWER_WATT was used from evnex, 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/hardbyte/ha-evnex/issues
[homeassistant.const] TIME_SECONDS was used from evnex, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/hardbyte/ha-evnex/issues