mawinkler / astroweather

Asynchronous Astro Weather Forecast for Home Assistant
GNU General Public License v3.0
69 stars 9 forks source link

deprecated constants #49

Closed hermanops closed 8 months ago

hermanops commented 8 months ago

My logs complain:

2024-01-05 18:19:08.240 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from astroweather, 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/mawinkler/astroweather/issues

maybe more info here: https://developers.home-assistant.io/blog/2023/12/19/constant-deprecation

gmorain commented 8 months ago

@mawinkler I have seen you merged this https://github.com/mawinkler/astroweather/pull/47 which fixes the issue, but I guess there is something more to do (package a new release maybe?) on your side before we see this update visible in our Home assistant instances?

(FYI I am an HA newbie for now so I do not yet know what happens under the hood, but familiar with Python so I'm hoping to learn a bit)

mawinkler commented 8 months ago

Will do a new release later this day. So yes, you're correct.

mawinkler commented 8 months ago

fixed with 0.42.2