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

Detected that custom integration 'spotcast' calls async_add_job #439

Open
8 tasks
javiges opened this issue Apr 13, 2024 · 3 comments
Open
8 tasks

Detected that custom integration 'spotcast' calls async_add_job #439

javiges opened this issue Apr 13, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request v5 Will be worked on in v5

Comments

@javiges
Copy link

javiges commented Apr 13, 2024

Bug Ticket

Describe the bug

Troubleshooting

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

  • Using latest version of spotcast
  • Using latest stable version of Home Assistant
  • I have setup the Spotify integration in Home Assistant
  • I have renewed my sp_dc and sp_key values and restarted Home Assistant (see README)
  • (optional) I have Spotify Premium
  • (optional) I am using multiple accounts
  • (optional) I'm attaching relevant logs with level debug for component spotcast (see README)
  • (optional) I'm using entity_id in the service call and have tried device_name but the issue remains

Environment

  • Installation type: Ha container
  • HA version: 2024.4.3
  • spotcast version: 3.7.3

## 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.>
@javiges javiges added the bug Something isn't working label Apr 13, 2024
@woempiej
Copy link

Hi,

Same error message in the log;

afbeelding

@fcusson fcusson added enhancement New feature or request and removed bug Something isn't working labels Apr 14, 2024
@fcusson
Copy link
Collaborator

fcusson commented Apr 14, 2024

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.

@fcusson fcusson added the v5 Will be worked on in v5 label Dec 5, 2024
@fcusson
Copy link
Collaborator

fcusson commented Dec 5, 2024

fixed in current beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v5 Will be worked on in v5
Projects
None yet
Development

No branches or pull requests

3 participants