DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 32 forks source link

Deprecated constants will be removed in HA Core 2025.1 #213

Closed MagnusErler closed 10 months ago

MagnusErler commented 10 months ago

Describe the bug HA asks to remove SOURCE_TYPE_GPS, LENGTH_KILOMETERS, and LENGTH_MILESand instead use SourceType.GPS, UnitOfLength.KILOMETERS, and UnitOfLength.MILES.

Log

SOURCE_TYPE_GPS was used from toyota, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
LENGTH_KILOMETERS was used from toyota, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.KILOMETERS instead, please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
LENGTH_MILES was used from toyota, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILES instead, please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
CM000n commented 10 months ago

Thanks for reporting!