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

Changes with 2024.1.0 showing warnings #16

Open
sparment opened this issue Jan 6, 2024 · 1 comment
Open

Changes with 2024.1.0 showing warnings #16

sparment opened this issue Jan 6, 2024 · 1 comment

Comments

@sparment
Copy link

sparment commented Jan 6, 2024

Looks like the new climate changes with HA 2024.1.0 are throwing some warnings about deprecated elements that will be removed with 2025.1.

@mww012 please let me know if I can be any help with code change testing!

Logger: homeassistant.const
Source: helpers/deprecation.py:204
TEMP_FAHRENHEIT was used from infinitive, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please report it to the author of the 'infinitive' custom integration

Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:204
CURRENT_HVAC_IDLE was used from infinitive, 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 'infinitive' custom integration
SUPPORT_TARGET_TEMPERATURE was used from infinitive, 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 'infinitive' custom integration
SUPPORT_TARGET_TEMPERATURE_RANGE was used from infinitive, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'infinitive' custom integration
SUPPORT_FAN_MODE was used from infinitive, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'infinitive' custom integration
SUPPORT_PRESET_MODE was used from infinitive, 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 'infinitive' custom integration

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1520
Entity None (<class 'custom_components.infinitive.climate.InfinitiveDevice'>) 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: 25>, please report it to the author of the 'infinitive' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

@gogades
Copy link
Owner

gogades commented Aug 25, 2024

I have a fix in progress for this.

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