ksya / ha-nefiteasy

Nefit Easy connection for Home Assistant
74 stars 30 forks source link

custom_components.nefiteasy.climate.NefitThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1 #317

Open sanderlv opened 2 months ago

sanderlv commented 2 months ago

Logger: homeassistant.helpers.entity Source: helpers/entity.py:1632 First occurred: 19:39:14 (1 occurrences) Last logged: 19:39:14

Entity None (<class 'custom_components.nefiteasy.climate.NefitThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please create a bug report at https://github.com/ksya/ha-nefiteasy/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

sanderlv commented 2 months ago

And some more :-(

Logger: homeassistant.components.climate.const Source: helpers/deprecation.py:206 integration: Climate (documentation, issues) First occurred: 19:46:03 (25 occurrences) Last logged: 19:46:04

CURRENT_HVAC_HEAT was used from nefiteasy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please report it to the author of the 'nefiteasy' custom integration CURRENT_HVAC_IDLE was used from nefiteasy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please report it to the author of the 'nefiteasy' custom integration HVAC_MODE_HEAT was used from nefiteasy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'nefiteasy' custom integration SUPPORT_PRESET_MODE was used from nefiteasy, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'nefiteasy' custom integration SUPPORT_TARGET_TEMPERATURE was used from nefiteasy, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'nefiteasy' custom integration

BVGorp commented 1 month ago

duplicate of https://github.com/ksya/ha-nefiteasy/issues/288