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

Deprecation Warnings in 2024.5.0b1 #2239

Open
dcmeglio opened this issue Apr 27, 2024 · 1 comment · Fixed by #2250 or #2249
Open

Deprecation Warnings in 2024.5.0b1 #2239

dcmeglio opened this issue Apr 27, 2024 · 1 comment · Fixed by #2250 or #2249
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dcmeglio
Copy link

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug

To Reproduce

Run 2024.5.0b1

System details

  • Home-assistant (version): 2024.5.0b1
  • alexa_media (version from const.py or HA startup): 4.9.2
  • alexapy (version from pip show alexapy or HA startup): 1.27.10
  • Amazon 2FA is enabled (y/n). <!---We will not debug login issues if unanswered--->: Na

Logs
Please provide logs.

Detected that custom integration 'alexa_media' accesses hass.helpers.instance_id. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from instance_id directly at custom_components/alexa_media/helpers.py, line 274: uuid = await hass.helpers.instance_id.async_get(), please create a bug report at https://github.com/alandtse/alexa_media_player/issues
Detected that custom integration 'alexa_media' 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/alexa_media/__init__.py, line 625: hass.async_add_job(, please create a bug report at https://github.com/alandtse/alexa_media_player/issues
Detected that custom integration 'alexa_media' 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/alexa_media/media_player.py, line 188: hass.async_add_job(, please create a bug report at https://github.com/alandtse/alexa_media_player/issues
@alandtse alandtse added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels May 1, 2024
@slomanl1
Copy link

THe problem still exists in switch.py and sensor.py :
Detected that custom integration 'alexa_media' calls async_write_ha_state from a thread at custom_components/alexa_media/switch.py,
Detected that custom integration 'alexa_media' calls async_fire from a thread at custom_components/alexa_media/sensor.py,

@alandtse alandtse reopened this May 10, 2024
@github-actions github-actions bot removed the help wanted Extra attention is needed label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
3 participants