speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
96 stars 16 forks source link

[Issue]: Changes in how HA will represent units-of-measurement - Warning #231

Closed MilesAheadToo closed 3 months ago

MilesAheadToo commented 3 months ago

Configuration file: config_entry-daikin_residential_altherma-2d7d5b56ffd7de32b7ce575dd4729bb7.json

It appears that HA will change how UoM is represented in 2025. I am getting these warnings on restart.

2024-03-17 12:23:26.367 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:26.373 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:26.379 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_SIGNAL_STRENGTH was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.SIGNAL_STRENGTH instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:26.385 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:26.390 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:28.578 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:28.585 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:28.593 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:28.599 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
202
MilesAheadToo commented 3 months ago

More warnings found in the HA log.

2024-03-17 12:23:32.072 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.088 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.101 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.108 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.119 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.131 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.140 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.141 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.daikin_residential_altherma.climate.DaikinClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE: 1>, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-03-17 12:23:32.141 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.daikin_residential_altherma.climate.DaikinClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.142 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.daikin_residential_altherma.climate.DaikinClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.142 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.daikin_residential_altherma.climate.DaikinClimate'>) implements HVACMode(s): off, heat, cool, heat_cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.163 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.173 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.187 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.201 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from daikin_residential_altherma, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.233 ERROR (SyncWorker_4) [homeassistant.components.influxdb] Cannot connect to InfluxDB due to '<urllib3.connection.HTTPConnection object at 0x7f4e2e697350>: Failed to establish a new connection: [Errno 113] Host is unreachable'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.
2024-03-17 12:23:32.245 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.253 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.263 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.274 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.282 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from daikin_residential_altherma, 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/speleolontra/daikin_residential_altherma/issues
2024-03-17 12:23:32.292 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.daikin_residential_altherma.water_heater.DaikinWaterTank'>) 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/speleolontra/daikin_residential_altherma/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
jwillemsen commented 3 months ago

See #210