xiaomi_fan icon indicating copy to clipboard operation
xiaomi_fan copied to clipboard

Deprecated supported features values which will be removed in HA Core 2025.1

Open heinemannj opened this issue 1 year ago • 4 comments

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

heinemannj avatar Jan 04 '24 06:01 heinemannj

This should work: https://github.com/syssi/xiaomi_fan/pull/245

override80 avatar Jan 11 '24 17:01 override80

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.

askthomas avatar Feb 06 '24 21:02 askthomas

same her

sagitt avatar Feb 09 '24 21:02 sagitt

This should work: #245

Your fix work for me ;) thx

snp88 avatar Feb 21 '24 22:02 snp88

Fixed by https://github.com/syssi/xiaomi_fan/commit/2b025ac6a884b3f5d88c2f49e49116ee55165d78. Kudos to @override80

syssi avatar Jul 07 '24 09:07 syssi