Closed zslibra closed 3 months ago
In addition:
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 report it to the author of the 'xiaomi_miio_fan' custom integration
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 report it to the author of the 'xiaomi_miio_fan' custom integration
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 report it to the author of the 'xiaomi_miio_fan' custom integration
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 report it to the author of the 'xiaomi_miio_fan' custom integration
hello, I upgraded HA to 2024.6.4, and got this warning message in log. How can I fix it? thanks.
2024-06-22 17:26:43.351 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'xiaomi_miio_fan' calls
async_add_job
, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/xiaomi_miio_fan/fan.py, line 965: state = await self.hass.async_add_job(self._device.status), please create a bug report at https://github.com/syssi/xiaomi_fan/issues