sfalkman / ngenic-hass-platform

Ngenic platform for Home Assistant
MIT License
33 stars 17 forks source link

Deprecated feature (HA 2025.1) #47

Open xp1ratex opened 10 months ago

xp1ratex commented 10 months ago

Logger: homeassistant.helpers.entity Source: helpers/entity.py:1520 First occurred: 18:07:53 (1 occurrences) Last logged: 18:07:53

Entity None (<class 'custom_components.ngenic.climate.NgenicTune'>) 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/sfalkman/ngenic-hass-platform/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

isakrubin commented 7 months ago

following...

Konstigt commented 6 months ago

From Home Assistant boot, maybe some more information

WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from ngenic, 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 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from ngenic, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_HUMIDITY was used from ngenic, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please report it to the author of the 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_POWER was used from ngenic, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please report it to the author of the 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_ENERGY was used from ngenic, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please report it to the author of the 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from ngenic, 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 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from ngenic, 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 'ngenic' custom integration
WARNING (ImportExecutor_0) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from ngenic, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'ngenic' custom integration
zgnusrx commented 6 months ago

...as mentionned. image