michaelarnauts / home-assistant-comfoconnect

Home Assistant integration for Zehnder ComfoAir trough a Zehnder ComfoConnect LAN C.
Other
26 stars 13 forks source link

Zehnder Comfoconnect using future deprecated constants in HA #29

Closed Roos-AID closed 6 months ago

Roos-AID commented 7 months ago

Logger: homeassistant.const Source: helpers/deprecation.py:205 First occurred: 10:14:09 (9 occurrences) Last logged: 10:15:10

VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR instead, please report it to the author of the 'comfoconnect' custom integration ELECTRIC_POTENTIAL_VOLT was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'comfoconnect' custom integration TIME_MINUTES was used from ocpp, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please create a bug report at https://github.com/lbbrhzn/ocpp/issues POWER_KILO_WATT was used from ocpp, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT instead, please create a bug report at https://github.com/lbbrhzn/ocpp/issues ELECTRIC_CURRENT_AMPERE was used from ocpp, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/lbbrhzn/ocpp/issues

zollak commented 6 months ago

The correct error log here was the following:

2024-01-22 22:43:59.055 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'comfoconnect' custom integration
2024-01-22 22:43:59.058 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'comfoconnect' custom integration
2024-01-22 22:43:59.061 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from comfoconnect, 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 'comfoconnect' custom integration
2024-01-22 22:43:59.064 WARNING (MainThread) [homeassistant.const] TIME_DAYS was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please report it to the author of the 'comfoconnect' custom integration
2024-01-22 22:43:59.066 WARNING (MainThread) [homeassistant.const] VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR instead, please report it to the author of the 'comfoconnect' custom integration
2024-01-22 22:43:59.069 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from comfoconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'comfoconnect' custom integration