spotcast: error with 0.117.0 release of home assistant
my repo is validated by travis-ci. building against home Assistant 0.117.0 gives the following error:
homeassistant.packages.spotcast.spotcast:
- Package spotcast setup failed. Component spotcast No module named 'plexapi'
removal of spotcast allows the build to pass and no errors are raised.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (6 by maintainers)
Further information and steps to reproduce: run the official addon: “Check Home Assistant Configuration” check the logs: first run (failed due to lack of spotipy):
Add spotipy to resources. 2nd run log (failed due to lack of pychromecast):
add pychromecast to resources 3rd run log(failed due to lack of plexapi):
Add plexapi to resources. 4th run log (failed due to lack of plexwebsocket):
Add plexwebsocket. 5th run - success!
I can only assume that plex being required is related to the newly added ability to stream plex to cast devices in HA.
It may be that the config may work for some people if other components which use these resources are loaded first, but this cannot be guaranteed.
also, please note that my PR added resources, not dependencies. I remember needing to remove resources which are loaded automatically by a base home assistant install, but it appears that these are no longer loaded by default
@pinkywafer thanks for that … it’s always such a risk upgrading … now I just need to fix my tradfri implementation.
@elyobelyob I have edited my custom_components/spotcast/manifest.json file and all now works again. You can do the same by copying mine from https://github.com/fondberg/spotcast/pull/137/commits/0671ae30704a8eb60436ae48177325cc2ca0ae47