question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The following components and platforms could not be set up: alexa_media.media_player @0.97b0

See original GitHub issue

Describe the bug The following components and platforms could not be set up: alexa_media.media_player

Log Details (ERROR) Unable to prepare setup for platform alexa_media.media_player: Platform not found (cannot import name ‘MEDIA_PLAYER_SCHEMA’ from ‘homeassistant.components.media_player’ (/usr/src/homeassistant/homeassistant/components/media_player/init.py)).

To Reproduce Steps to reproduce the behavior:

Install recent beta and you will see.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

System details

  • Home-assistant (version): 0.97.0b0
  • Hassio (Yes/No): Yes
  • alexa_media (version from const.py or HA startup): 1.3.1
  • alexapy (version from pip show alexapy or HA startup): 0.7.0

Additional context Ludeeus meant : Custom components should provide a const.py file in the integration dir, that way when consts change in core, they will not break.

Aka it looks like the const was renamed I guess? Here we are: https://github.com/home-assistant/home-assistant/commit/f1e4153b2c4a9e18eebb037d2332c76f1a625c97#diff-5611ccdb60e42595186058f82df9c7a8

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:11

github_iconTop GitHub Comments

3reactions
alandtsecommented, Aug 3, 2019

Fix in queue, please test.

3reactions
niemyjskicommented, Aug 1, 2019

I’m also running into this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found