G-Two / homeassistant-subaru

Subaru STARLINK custom component for Home Assistant.
Apache License 2.0
54 stars 6 forks source link

Deprecated Warnings #56

Closed zanix closed 1 year ago

zanix commented 1 year ago

When starting up Home Assistant 2022.10.x, I get the following warnings

WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses volume utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.VolumeConverter instead. Please report issue to the custom integration author for subaru using this method at custom_components/subaru/sensor.py, line 55: L_PER_GAL = vol_convert(1, VOLUME_GALLONS, VOLUME_LITERS)
WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for subaru using this method at custom_components/subaru/sensor.py, line 56: KM_PER_MI = dist_convert(1, LENGTH_MILES, LENGTH_KILOMETERS)

2023.4 is a ways off, but figured it should be noted.

G-Two commented 1 year ago

Thanks, it'll be fixed in the next release.