fondberg / spotcast

Home assistant custom component to start Spotify playback on an idle chromecast device as well as control spotify connect devices
Apache License 2.0
640 stars 94 forks source link

Detected that custom integration 'spotcast' calls `async_add_job` #439

Open javiges opened 2 months ago

javiges commented 2 months ago

Bug Ticket

Describe the bug

Troubleshooting

Make sure to validate all the elements before submitting the ticket (Exception to the steps marked as optional)

Environment


## Service Call

If relevant, provide a `yaml` of the service call or explain the action taken to replicate the issue.

````yaml
<insert the yaml of the service call here>

Logs

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'spotcast' 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/spotcast/init.py, line 125: hass.async_add_job(get_playlist()), please create a bug report at https://github.com/fondberg/spotcast/issues



## Additional context

<Add any other context about the problem here.>
woempiej commented 2 months ago

Hi,

Same error message in the log;

afbeelding

fcusson commented 2 months ago

Hi @javiges @woempiej. this is not a bug and everything is working as intended (for the moment). This only means that Home Assistant deprecated a method we used, but there process for deprecation, gives 1 full year to developper to make the change.

Moving the ticket to enhancement so that we can work on updating the project to the new methods.