yangqian / hass-cozylife

third party cozylife integration
MIT License
61 stars 14 forks source link

deprecated function EOL in HA 2025 #23

Open vothar opened 7 months ago

vothar commented 7 months ago

potential future problem

Please can you update the function ? thank you error i get when using your cozylife integration

Source: helpers/deprecation.py:205

TEMP_CELSIUS was used from hass_cozylife_local_pull, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'hass_cozylife_local_pull' custom integration

lmarcelocc commented 7 months ago

I quickly looked into the source code and it seems that TEMP_CELSIUS is imported but not being used. So it should be something easy to to.