homeassistant-uponor
homeassistant-uponor copied to clipboard
Use of deprecated constants which will be removed in HA Core 2025.1
Hi @asev
Getting a bunch of these as of the last version(s?) of Home Assistant:
2024-02-27 11:07:03.756 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.765 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.775 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.784 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.793 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.801 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.810 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.819 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
2024-02-27 11:07:03.828 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from uponor, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/asev/homeassistant-uponor/issues
Changing to the new constants should be fairly straightforward - did you think about fixing these? If not, I guess I could try to prepare a PR.
I would certainly appreciate if this custom component could be maintained. All my house heating run on Smatrix and this is the only way to get thermostats etc into HA. I have tried for months to get hold of @asev but think he has signed out?
Could someone pick up this project?
Thanks in advance
Fork that solves most issues in this integration:
https://github.com/asev/homeassistant-uponor/issues/46