h4de5 / home-assistant-toshiba_ac

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

Deprecated constants reported by HA 2024.1.2 #169

Closed friesoft closed 5 months ago

friesoft commented 5 months ago

Using HA 2024.1.2 I get the following warning messages in log about deprecated constants:

2024-01-07 23:19:10.056 WARNING (MainThread) [homeassistant.const] 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 create a bug report at https://github.com/h4de5/home-assistant-toshiba_ac/issues
2024-01-07 23:19:10.064 WARNING (MainThread) [homeassistant.const] 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 create a bug report at https://github.com/h4de5/home-assistant-toshiba_ac/issues
chrisandsally commented 5 months ago

I think this a duplicate of #168

friesoft commented 5 months ago

Sorry you are right, don't know why I didn't see the other one...