ofalvai / home-assistant-candy

Unofficial Candy/Haier appliance integration for Home Assistant
125 stars 30 forks source link

TEMP_CELSIUS was used from candy, this is a deprecated constant which will be removed #291

Open UlrichThiess opened 9 months ago

UlrichThiess commented 9 months ago

TEMP_CELSIUS was used from candy, 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/ofalvai/home-assistant-candy/issues

rainbowbreeze commented 3 months ago

Got the same message.

Logger: homeassistant.const Source: helpers/deprecation.py:197 First occurred: 2:18:46 PM (2 occurrences) Last logged: 2:18:46 PM

TEMP_CELSIUS was used from candy, 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 'candy' custom integration TIME_MINUTES was used from candy, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'candy' custom integration