cjaliaga / home-assistant-aquarea

Home Assistant integration for Panasonic Aquarea devices connected to Aquarea Smart Cloud
MIT License
76 stars 13 forks source link

replace TEMP_CELSIUS with UnitOfTemperature.CELSIUS #88

Closed sprzednowek closed 8 months ago

sprzednowek commented 8 months ago

from HACS logs:

2024-01-04 23:10:36.910 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from aquarea, 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/cjaliaga/home-assistant-aquarea/issues

cjaliaga commented 8 months ago

Thanks for the report @sprzednowek. This has been corrected here https://github.com/cjaliaga/home-assistant-aquarea/commit/9a93ae66a6b6ec7f42ca436199448c33262435e8 (#86) and will be part of next release: 0.5.0

cjaliaga commented 8 months ago

Published v0.5.0 with the fix: https://github.com/cjaliaga/home-assistant-aquarea/releases/tag/v0.5.0