syssi / xiaomi_fan

Xiaomi Mi Smart Fan integration for Home Assistant
Apache License 2.0
430 stars 118 forks source link

Deprecated constant which will be removed in HA Core 2025.1 #242

Closed heinemannj closed 4 months ago

heinemannj commented 11 months ago
**SUPPORT_DIRECTION** was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1.
Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/syssi/xiaomi_fan/issues
**SUPPORT_OSCILLATE** was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1.
Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/syssi/xiaomi_fan/issues
**SUPPORT_PRESET_MODE** was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1.
Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/syssi/xiaomi_fan/issues
**SUPPORT_SET_SPEED** was used from xiaomi_miio_fan, this is a deprecated constant which will be removed in HA Core 2025.1.
Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/syssi/xiaomi_fan/issues
syssi commented 4 months ago

Fixed by https://github.com/syssi/xiaomi_fan/commit/2b025ac6a884b3f5d88c2f49e49116ee55165d78.

Kudos to @override80.

heinemannj commented 4 months ago

It works by manually copy & paste ... - Many Thanks!

Please provide a new release for the rest of the world.

syssi commented 4 months ago

Which Home Assistant version do you use? I was expecting more deprecations which must be fixed first.

heinemannj commented 4 months ago

image

syssi commented 4 months ago

Perfect! I will prepare a new release.

heinemannj commented 4 months ago

I've update to 2024.7.0.0 via HACS - My log is now clean - Many thanks