Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homeassitant warning - deprecation for async_add_job #7

Open
wuppiwuppi opened this issue Apr 24, 2024 · 1 comment
Open

homeassitant warning - deprecation for async_add_job #7

wuppiwuppi opened this issue Apr 24, 2024 · 1 comment

Comments

@wuppiwuppi
Copy link

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 :)

@glance-
Copy link
Owner

glance- commented Jul 31, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants