Closed ExMacro closed 9 months ago
Thank you for bringing this to my attention!
Should be fixed with chkuendig/hass-amphiro-ble@930570c.
Thanks @chkuendig ! And sorry but now that I updated, there's still a few more constants to fix.. Didn't notice these at the first time.
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 17:48:24 (2 occurrences)
Last logged: 17:48:24
ENERGY_KILO_WATT_HOUR was used from amphiro_ble, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'amphiro_ble' custom integration
VOLUME_LITERS was used from amphiro_ble, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'amphiro_ble' custom integration
This should now also be fixed (I was wondering about the other units but kind of forgot about it as I don't get these warnings on my end as I haven't updated to the newest HA yet)
HA logs have the following mention that some of the constants used will be deprecated in a year. Thanks already beforehand if you have the time to fix this in the near future @chkuendig!