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 supported features values which will be removed in HA Core 2025.1 #243

Closed
heinemannj opened this issue Jan 4, 2024 · 5 comments

Comments

@heinemannj
Copy link

Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Entity None (<class 'custom_components.xiaomi_miio_fan.fan.XiaomiFan1C'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <FanEntityFeature.SET_SPEED|OSCILLATE|PRESET_MODE: 11>, please create a bug report at https://github.com/syssi/xiaomi_fan/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

@override80
Copy link
Contributor

This should work: #245

@askthomas
Copy link

SUPPORT_OSCILLATE was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_PRESET_MODE was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_SET_SPEED was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_DIRECTION was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_OSCILLATE was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_PRESET_MODE was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_SET_SPEED was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1
SUPPORT_DIRECTION was used from xiaomi_miio_airpurifier, this is a deprecated constant which will be removed in HA Core 2025.1.

@sagitt
Copy link

sagitt commented Feb 9, 2024

same her

@snp88
Copy link

snp88 commented Feb 21, 2024

This should work: #245

Your fix work for me ;) thx

@syssi
Copy link
Owner

syssi commented Jul 7, 2024

Fixed by 2b025ac. Kudos to @override80

@syssi syssi closed this as completed Jul 7, 2024
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

6 participants