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

Deprecated Constants in Active Use #3

Open
rothn opened this issue Jan 28, 2024 · 0 comments
Open

Deprecated Constants in Active Use #3

rothn opened this issue Jan 28, 2024 · 0 comments

Comments

@rothn
Copy link
Owner

rothn commented Jan 28, 2024

This code actively uses deprecated constants. It would be best to migrate to the new values suggested by the logs below:

WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from frigidaire, 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 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from frigidaire, 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 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from frigidaire, 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 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from frigidaire, 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 'frigidaire' custom integration
WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.frigidaire.climate.FrigidaireClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE: 9>, please report it to the author of the 'frigidaire' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
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

1 participant