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

Integration uses deprecated calls that will be removed in HA 2025.1 #11

Open
mcattle opened this issue Dec 13, 2024 · 0 comments
Open

Comments

@mcattle
Copy link

mcattle commented Dec 13, 2024

The ha-bedjet integration is reporting the following startup warnings in HA 2024.12:

2024-12-13 15:35:14.967 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_FAHRENHEIT was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.968 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.969 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.970 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.971 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.972 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.973 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from ha_bedjet, 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 'ha_bedjet' custom integration
2024-12-13 15:35:14.973 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from ha_bedjet, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'ha_bedjet' custom integration
2024-12-13 15:35:14.979 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.ha_bedjet.climate.BedJet'>) 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 'ha_bedjet' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-12-13 15:35:14.979 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.ha_bedjet.climate.BedJet'>) implements HVACMode(s): off, cool, heat, dry and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'ha_bedjet' custom integration
2024-12-13 15:35:14.980 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.ha_bedjet.climate.BedJet'>) 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 'ha_bedjet' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-12-13 15:35:14.980 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.ha_bedjet.climate.BedJet'>) implements HVACMode(s): off, cool, heat, dry and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'ha_bedjet' custom integration

I'm reporting them as requested. :-)

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