syssi / xiaomi_fan

Xiaomi Mi Smart Fan integration for Home Assistant
Apache License 2.0
413 stars 117 forks source link

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

Closed heinemannj closed 1 week ago

heinemannj commented 6 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 1 week ago

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

Kudos to @override80.

heinemannj commented 1 week ago

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

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

syssi commented 1 week ago

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

heinemannj commented 1 week ago

image

syssi commented 1 week ago

Perfect! I will prepare a new release.

heinemannj commented 1 week ago

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