hass-integrations
hass-integrations copied to clipboard
mopidy mediaplayer not working
log entry:
Logger: homeassistant.setup Source: setup.py:403 First occurred: 11:04:55 (1 occurrences) Last logged: 11:04:55
Unable to prepare setup for platform 'mopidy.media_player': Platform not found (Exception importing custom_components.mopidy.media_player).
Home Assistant
Core 2024.1.3 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0
Logger:
Logger: homeassistant.loader Source: loader.py:842 First occurred: 11:04:55 (1 occurrences) Last logged: 11:04:55
Unexpected exception importing platform custom_components.mopidy.media_player
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
Could you please check that you have a custom_components/mopidy
directory in the config
directory of your Home Assistant instance?
Would it be possible to provide me with the output of
find /config/custom_components/mopidy -type f -exec ls -la {} +
thank you
thnx for your quick response.
see attached:
I have absolutely no idea what is causing this... Are you sure you are running the latest version of the integration?
can you post the results of:
cat /config/custom_components/mopidy/manifest.json```
?
the version should be 2.3+
Installed version 2.3.3 tonight .
Entities are visible again in HA.
Will test player function tomorrow.
Thnx for the quick fix!!