Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation #201

Open
sdeodom opened this issue Jan 20, 2024 · 1 comment

Comments

@sdeodom
Copy link

sdeodom commented Jan 20, 2024

Entity None (<class 'custom_components.daikin_residential.climate.DaikinClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE|PRESET_MODE|SWING_MODE: 57>

DEVICE_CLASS_HUMIDITY was used from daikin_residential, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please create a bug report at https://github.com/rospogrigio/daikin_residential/issues
DEVICE_CLASS_ENERGY was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
DEVICE_CLASS_SIGNAL_STRENGTH was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
ENERGY_KILO_WATT_HOUR was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
TEMP_CELSIUS was used from daikin_residential, 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/rospogrigio/daikin_residential/issues

HVAC_MODE_OFF was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
SUPPORT_TARGET_TEMPERATURE was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
SUPPORT_FAN_MODE was used from daikin_residential, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/rospogrigio/daikin_residential/issues
SUPPORT_PRESET_MODE was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
SUPPORT_SWING_MODE was used from daikin_residential, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/rospogrigio/daikin_residential/issues

STATE_CLASS_MEASUREMENT was used from daikin_residential, 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/rospogrigio/daikin_residential/issues
STATE_CLASS_TOTAL_INCREASING was used from daikin_residential, 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/rospogrigio/daikin_residential/issues

many thnaks for your help

@jwillemsen
Copy link
Contributor

Duplicate of #195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants