alexa_media_player: Amazon Air Quality Monitor Entities missing after upgrade to 5.1.0

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

After upgrading the alexa_media_player HACS integration to version 5.1.0 most of the entities from my Amazon Air Quality Monitors disappeared. Only the temperature entity still is beeing published by the integration. Reloading the integration does not help.

To Reproduce

Upgrade to version 5.1.0 and restart HA afterwards. Even after reloading the integration after these steps, only the “First Air Quality Monitor Temperature” entity for each Amazon Air Quality Monitor is available.

Expected behavior

With Version 5.0.5 there are 6 entities published by the integration for each Amazon Air Quality Monitor:

  • First Air Quality Monitor Carbon Monoxide
  • First Air Quality Monitor Humidity
  • First Air Quality Monitor Indoor Air Quality
  • First Air Quality Monitor Particulate Matter
  • First Air Quality Monitor Temperature
  • First Air Quality Monitor Volatile Organic Compounds

Screenshots

image

System details

  • Home Assistant version: 2024.12.3
  • alexa_media version (from const.py or HA startup log): 5.1.0
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log): 1.29.5
  • Is Amazon 2FA/2SV enabled <!—We will not debug login issues if unanswered—> (y/n): y
  • Amazon Domain: amazon.de

Debug Logs (alexa_media & alexapy) Please provide logs.

Too much sensitive data to remove from the log. If there are specific entries you need, let me know.

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 41 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Same here. I went back to 5.0.5 and it’s working again.

The fix from @alams154 works for me, thanks!

Issue is fixed for me aswell with https://github.com/alandtse/alexa_media_player/pull/2758. Everything works fine again. Thank you @alams154 for the very quick fix 😃 I’ll leave the issue open until merged.

for me going back to 5.0.5 fixed the issue

Same on my instance as well. Regardless of the issue, thanks for the amazing work.

Normally you’d just wait for that fix (which is a pull request) to be merged and released in a new version, which this one has. But if you see a PR and want to apply it before it it’s released, I’d be happy to pass along my knowledge. I’m on my phone right now or I’d be more specific but after clicking the link to the PR, you want to look at “files changed” which is like tab 3 or 4 and it shows the original code on the left, new fcode on the right with minuses and plusses as to what was changed for each file. Above you can can see pull requests. Open have not been merged yet. Closed have been merged but may not be released as a new version yet, and new versions are packaged up as a zip file for HACS to process, which shows as current vrelease on the right side of the main code tab for this repository. I apologize in advance if my memory of it all is inaccurate or incorrect!

Reverting fixed it for me. Pretty annoying how this breaks every month or two, honestly. Is the dev in an arms race with Amazon, with them trying to block it maybe?

The dev isn’t developing, only reviewing and merging pull requests that we the users/contributors submit.

Issue is also fixed for me (#2758). Thanks @alams154 👍🏻

Doesn’t work for me, I’ll waiting until a new AMP-Release (5.1.1? or so) is published. I’ve have only on AQM and other devices for air quality observation.

Same issue for me. Even tried deleting and re-adding the integration. Same result