hasl-sensor / integration

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor
https://hasl.sorlov.com
Apache License 2.0
34 stars 7 forks source link

hasl3' calls `async_add_job #75

Open velodromen opened 2 hours ago

velodromen commented 2 hours ago

Detected that custom integration 'hasl3' 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/hasl3/init.py, line 311: hass.async_add_job(hass.config_entries.async_forward_entry_setup(entry, "sensor")), please create a bug report at https://github.com/hasl-sensor/integration/issues

velodromen commented 2 hours ago

In addition, the line beneath (312) as well;

Detected that custom integration 'hasl3' 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/hasl3/init.py, line 312: hass.async_add_job(hass.config_entries.async_forward_entry_setup(entry, "binary_sensor")), please create a bug report at https://github.com/hasl-sensor/integration/issues