Vip0r / varta_storage

2 stars 0 forks source link

HA Log reports depricated constant #4

Open hegien opened 1 month ago

hegien commented 1 month ago

Using HA 2024.10.2 Today I saw this message in the HA logs: Logger: homeassistant.const Source: helpers/deprecation.py:197 First occurred: 09:04:29 (3 occurrences) Last logged: 09:04:29

ENERGY_WATT_HOUR was used from varta_storage, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please report it to the author of the 'varta_storage' custom integration POWER_WATT was used from varta_storage, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'varta_storage' custom integration TIME_HOURS was used from varta_storage, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'varta_storage' custom integration

Vip0r commented 1 week ago

I will need to re-setup my dev environment and try to reproduce your issue afterwards. Will keep you posted here