Closed hutasje closed 7 months ago
Thanks for reporting the issue! Have you updated to the latest integration version? It should include fixes for the deprecations.
Hi Krisjanis,
thank you for your fast reply,
shortly after your message I rebuild my Home Assistant VM because I wasn't happy the way I organized it, wanting things like better 'long data retention' and improved 'backup/restore control', migrating from 'ZHA to Z2M' and so on ...,
it seems that the Thermia warning messages have disappeared :)
Very grateful for your quick response.
First, you have my gratitude for this great integration, I really love it.
Currently my HA generates the following warnings and advises me to report it in this github issues topics. So in an attempt to support, I'm quite new to this and not sure if its usefull. Maybe you are already aware. If below is useless, then please ignore this message and remove it. If you require more input, please let me know, I'll try to support as much as I can. Thank you in advance. Kind regards, Vernon
HA Logging:
2024-01-07 02:33:46.316 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from thermia, 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/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.317 WARNING (MainThread) [homeassistant.const] TIME_HOURS was used from thermia, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.321 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from thermia, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.322 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from thermia, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.323 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from thermia, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.325 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from thermia, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.326 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from thermia, 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/klejejs/ha-thermia-heat-pump-integration/issues
2024-01-07 02:33:46.333 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.thermia.water_heater.ThermiaWaterHeater'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <WaterHeaterEntityFeature.TARGET_TEMPERATURE|OPERATION_MODE: 3>, please create a bug report at https://github.com/klejejs/ha-thermia-heat-pump-integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation