swartjean / ha-eskom-loadshedding

Fetches loadshedding data from Eskom
Apache License 2.0
71 stars 19 forks source link

Detected that custom integration 'eskom_loadshedding' calls `async_add_job`, which is deprecated #41

Open SunilKhusal opened 3 months ago

SunilKhusal commented 3 months ago

Version of the custom_component

Latest Version v1.1.2

Configuration


Detected that custom integration 'eskom_loadshedding' 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/eskom_loadshedding/__init__.py, line 62: hass.async_add_job(, please create a bug report at https://github.com/swartjean/ha-eskom-loadshedding/issues

Describe the bug

I am getting the above error on my log and thought of informing you of the deprication.

Debug log


Add your logs here.
hawky358 commented 2 months ago

@SunilKhusal I created a pull request for this issue. #43

Hopefully @swartjean is still working on this then he can take a look to merge, otherwise you can incorporate the change into your HASS.