CJNE / ha-myenergi

Home Assistant integration for MyEnergi devices
MIT License
143 stars 32 forks source link

Deprecation warning with HA 2024.5.0 #528

Closed jwillemsen closed 4 months ago

jwillemsen commented 5 months ago

Version of the custom_component

Version 0.0.27

Describe the bug

Got the following warning in the HA log:

Detected that custom integration 'myenergi' callsasync_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/myenergi/__init__.py, line 57: hass.async_add_job(, please create a bug report at https://github.com/cjne/ha-myenergi/issues

trizmark commented 4 months ago

This is a duplicate #510