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

fix: fix instance_id deprecation #2249

Merged
merged 1 commit into from
May 6, 2024

Conversation

Petro31
Copy link
Contributor

@Petro31 Petro31 commented May 5, 2024

Fixes

2024-05-04 14:17:07.813 WARNING (MainThread) [homeassistant.helpers.frame] 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

Partially fixes: #2239

Fixes

```
2024-05-04 14:17:07.813 WARNING (MainThread) [homeassistant.helpers.frame] 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
```
@Petro31
Copy link
Contributor Author

Petro31 commented May 5, 2024

This doesn't appear to change the HA min version

@alandtse alandtse changed the title Fix instance_id deprecation fix: fix instance_id deprecation May 6, 2024
@alandtse alandtse merged commit fc75879 into alandtse:dev May 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation Warnings in 2024.5.0b1
2 participants