Limych / ha-snowtire

Home Assistant sensor to predict if it's time to change car tires from summer to winter and vice versa.
Other
27 stars 12 forks source link

HA 2024.1.0 deprecations #139

Closed tjorim closed 5 months ago

tjorim commented 9 months ago

Checklist

Is your feature request related to a problem? Please describe.

Updated to HA version 2024.1.0b0 and saw the following warning.

Describe the solution you'd like

Fix the deprecation.

Describe alternatives you've considered

n/a

Additional context

2023-12-28 19:23:24.294 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from snowtire, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/Limych/ha-snowtire/issues

PS: there is only this template for feature requests, not for a bug report.

Limych commented 5 months ago

Fixed in #150