-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 constant which will be removed in HA Core 2025.1 #1186
Comments
I have same issue: Logger: homeassistant.components.climate.const HVAC_MODE_FAN_ONLY was used from smartir, 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 'smartir' custom integration |
I can confirm the issue |
The same... |
same, and for those climate entities also have problems with Alexa. Alexa telling there are issues but switch the climate on or off. |
same problem and same answer from Alexa |
also looking to the last activities, looks like not maintained so much. Anyone have been able to find a solution ? |
Hi, I have the same situation too. |
I can add the following for media players (same issue, just different enum)
|
I think it's fine guys, no rush. This project has one full year to adapt to these changes. :) |
Is this Alexa behavior related to this issue? I believe this has to do with an incomplete response being sent to Alexa, and I believe this was already fixed in the base Generic Thermostat in Home Assistant, here Do I need to open a separate issue for that? |
I would say that's a different issue indeed. This deprecation warning was not supposed to change or affect any functionality. Maybe the issue is even in Home Assistant, as I don't think this integration interacts with Alexa directly. PS: I am not a maintainer, this is just my opinion. |
Updating core to 2024.1.3 Alexa issue was solved. Still there the Deprecated logs, of course |
Same for me on climate:
and also something in mediaplayer:
|
Same here |
Same Here, I'm adding some moore SUPPORT_SET_SPEED was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'smartir' custom integration |
here the integration stopped working!
|
Maybe Python 3.12 incompatibility... |
Same log entries. Hope it will get fixed before, otherwise my Broadlink is just a bad paper weight. Smart-ir was the reason i got the Broadlink. |
Hi, I just pushed PR #1231 fixing all those warning and errors. @vassilis-panos Coudl you please review it, merge it and release if suitable? It also seems, that you have many PR pending, mostly related to new added codes. Are you planning to merge those? If you need any help please let me know. If anyone would like to meanwhile get rid of the errors, you can use my fork from here: https://github.com/litinoveweedle/SmartIR |
2024-03-29 18:22:26.213 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.smartir.media_player.SmartIRMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE: 4024>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation |
I also warning for all HVAC_MODE* constants. Thanks |
No worries, we know, everyone is getting those. ;-) |
Hey, thank for notice, I think I can prepare PR for this as well. Bu the problem seems to be the author willingness to merge it. But no worry, I can fork this repo and maintain it at least for the time being, as I am using it myself and I need it to work. ;-) |
Hello, was fixed in the release of my forked version |
I'm having the 2 following logs entry:
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) 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>,
HVAC_MODE_FAN_ONLY was used from smartir, 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 'smartir' custom integration
HVAC_MODE_AUTO was used from smartir, 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 'smartir' custom integration
SUPPORT_TARGET_TEMPERATURE was used from smartir, 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 'smartir' custom integration
SUPPORT_FAN_MODE was used from smartir, 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 'smartir' custom integration
SUPPORT_SWING_MODE was used from smartir, 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 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
The text was updated successfully, but these errors were encountered: