With the version .88.0 Roon component stops working.
Unable to find platform roon
Any solution?
I’m not familiar with the custom component, but based on the dev docs you should make a folder named roon
in your custom_components folder and rename /config/custom_components/media_player/roon.py
to /config/custom_components/roon/media_player.py
Error loading platform:
Error loading custom_components.roon.media_player. Make sure all dependencies are installed
Traceback (most recent call last): File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/loader.py”, line 147, in _load_file module = importlib.import_module(path) File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “<frozen importlib._bootstrap>”, line 978, in _gcd_import File “<frozen importlib._bootstrap>”, line 961, in _find_and_load File “<frozen importlib._bootstrap>”, line 950, in _find_and_load_unlocked File “<frozen importlib._bootstrap>”, line 655, in _load_unlocked File “<frozen importlib._bootstrap_external>”, line 678, in exec_module File “<frozen importlib._bootstrap>”, line 205, in _call_with_frames_removed File “/Users/robertp/.homeassistant/custom_components/roon/media_player.py”, line 18, in <module> from homeassistant.components.media_player import ( ImportError: cannot import name ‘MEDIA_TYPE_MUSIC’
Those constants were moved into the homeassistant.components.media_player.const
module. Change the import on line 18 to from homeassistant.components.media_player.const import (
. Also consider opening a bug mentioning the version of HA you are using. There may be other errors, I haven’t used this component.
Thanks for the advice, but still not working.
I’d recommend opening an issue on github as it seems it will take more to get this working in 0.88.
I sent info to the developer.