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

Notice of removals - HASS 2025.1.X+ #150

Closed
larivierec opened this issue Jan 4, 2024 · 3 comments
Closed

Notice of removals - HASS 2025.1.X+ #150

larivierec opened this issue Jan 4, 2024 · 3 comments

Comments

@larivierec
Copy link

Describe the bug
As of Home Assistant 2024.1.0, some constants have become deprecated and will be removed in 2025+

To Reproduce
Steps to reproduce the behavior:

  1. Install HASS 2024.1.0
  2. Install HACS with Gree component
  3. Add a gree and restart HASS
  4. View a list of warnings

Expected behavior
There should not be any warnings of deprecations.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform:

  • OS: Ubuntu
  • Version 22.04.3 LTS

Additional context
Add any other context about the problem here.

Logs

33m2024-01-03 21:10:41.102 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.104 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.105 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.106 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.107 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.109 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.110 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.111 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.112 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from gree, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.114 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from gree, 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 'gree' custom integration�[0m

�[33m2024-01-03 21:10:41.916 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.gree.climate.GreeClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE|SWING_MODE: 41>, please report it to the author of the 'gree' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation�[0m
@RobHofmann
Copy link
Owner

Thank you for reporting! Just released a new version with a fix for this: https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent/releases/tag/2.6.0

@larivierec
Copy link
Author

larivierec commented Jan 7, 2024

awesome, i'll test it out :)
thanks!

EDIT: it works, no more warnings appear!

@briakpal
Copy link

Unfortunetly for me not working...

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

3 participants