h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

Updated deprecated constants which will be removed in HA Core 2025.1 #177

Closed felixmueller closed 2 months ago

felixmueller commented 2 months ago

This should fix the following errors in the log mentioned in issue #168:

Logger: homeassistant.const Source: helpers/deprecation.py:206 • ENERGY_WATT_HOUR was used from toshiba_ac, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please report it to the author of the 'toshiba_ac' custom integration • TEMP_CELSIUS was used from toshiba_ac, 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 'toshiba_ac custom integration

chrisandsally commented 2 months ago

Can this be made available via HACS? Does the version number need bumping?