dhl icon indicating copy to clipboard operation
dhl copied to clipboard

homeassitant warning - deprecation for async_add_job

Open wuppiwuppi opened this issue 10 months ago • 1 comments

2024-04-24 11:50:49.821 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'dhl' 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/dhl/sensor.py, line 86: await hass.async_add_job(save_json, json_path, registrations), please report it to the author of the 'dhl' custom integration

I hereby reported this :)

wuppiwuppi avatar Apr 24 '24 10:04 wuppiwuppi

Thanks for the reminder.

For some reason I don't see this warning, but it's still there in the code: https://github.com/home-assistant/core/blob/dev/homeassistant/core.py#L648

I'll see when I get around to it.

glance- avatar Jul 31 '24 21:07 glance-