xiaomi_fan icon indicating copy to clipboard operation
xiaomi_fan copied to clipboard

Detected that custom integration 'xiaomi_miio_fan' calls `async_add_job`

Open zslibra opened this issue 8 months ago • 0 comments

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

zslibra avatar Jun 22 '24 09:06 zslibra