Various constants are being deprecated in HA Core 2025.1, these need to be updated.
Debug log
2024-01-26 06:03:30.883 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from givenergy_local, 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/cdpuk/givenergy-local/issues2024-01-26 06:03:30.903 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from givenergy_local, 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/cdpuk/givenergy-local/issues2024-01-26 06:03:30.915 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from givenergy_local, 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/cdpuk/givenergy-local/issues2024-01-26 06:03:30.927 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from givenergy_local, 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/cdpuk/givenergy-local/issues2024-01-26 06:03:30.938 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from givenergy_local, 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/cdpuk/givenergy-local/issues2024-01-26 06:03:30.949 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from givenergy_local, 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/cdpuk/givenergy-local/issues
Version of the custom_component
v2.0.0-alpha5
Describe the bug
Various constants are being deprecated in HA Core 2025.1, these need to be updated.
Debug log
2024-01-26 06:03:30.883 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from givenergy_local, 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/cdpuk/givenergy-local/issues
2024-01-26 06:03:30.903 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from givenergy_local, 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/cdpuk/givenergy-local/issues
2024-01-26 06:03:30.915 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from givenergy_local, 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/cdpuk/givenergy-local/issues
2024-01-26 06:03:30.927 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from givenergy_local, 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/cdpuk/givenergy-local/issues
2024-01-26 06:03:30.938 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from givenergy_local, 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/cdpuk/givenergy-local/issues
2024-01-26 06:03:30.949 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from givenergy_local, 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/cdpuk/givenergy-local/issues