mrk-its / homeassistant-blitzortung

Custom Component for fetching lightning data from blitzortung.org
MIT License
186 stars 38 forks source link

LENGTH_KILOMETERS and LENGTH_MILES will be deprecated in HA Core 2025.1. #82

Closed aubierr closed 3 months ago

aubierr commented 6 months ago

Good morning,

I am pointing out this which is showing up as a warning in the logs. Is it possible to update?

LENGTH_KILOMETERS was used from blitzortung, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.KILOMETERS instead

LENGTH_MILES was used from blitzortung, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILES instead

Thank you

tomlut commented 6 months ago

Duplicate of https://github.com/mrk-its/homeassistant-blitzortung/issues/79

mrk-its commented 3 months ago

fixed by #81