Skip to content

Detected that custom integration 'alexa_media' relies on ContextVar #2986

@holdestmade

Description

@holdestmade

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

Getting this in logs on startup:
Detected that custom integration 'alexa_media' relies on ContextVar, but should pass the config entry explicitly. at custom_components/alexa_media/init.py, line 1351: DataUpdateCoordinator(. This will stop working in Home Assistant 2026.8, please create a bug report at https://github.com/alandtse/alexa_media_player/issues

To Reproduce
Restart HA

Expected behavior

NA

Screenshots

NA

System details

  • Home Assistant version: 2025.8.0b1
  • alexa_media version (from const.py or HA startup log): 5.7.1
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log):
  • Is Amazon 2SV via Authenticator App (not 2SV OTP via SMS) enabled? <!---We will not debug login issues if unanswered---> (y/n): y
  • Amazon Domain: uk

Debug Logs (alexa_media & alexapy)
Detected that custom integration 'alexa_media' relies on ContextVar, but should pass the config entry explicitly. at custom_components/alexa_media/init.py, line 1351: DataUpdateCoordinator(. This will stop working in Home Assistant 2026.8, please create a bug report at https://github.com/alandtse/alexa_media_player/issues

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions