The following components and platforms could not be set up: alexa_media.media_player @0.97b0
See original GitHub issueDescribe 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:
- Created 4 years ago
- Reactions:4
- Comments:11
Fix in queue, please test.
I’m also running into this.