Hello!
I have the Spotify integration configured:
But when I go to the Media page there’s nothing with Spotify on any media player:
Then I enabled the Media Player created by the integration:
But then I can’t play on anything due to this error:
Logger: homeassistant.core
Source: components/spotify/media_player.py:109
First occurred: 11:20:12 (2 occurrences)
Last logged: 11:20:42
Error executing service: <ServiceCall media_player.play_media (c:83827f076e54161204a12e8a3143ff14): entity_id=['media_player.spotify_carlos_vitorio_roque'], extra=, media_type=spotify://track, media_id=spotify:track:1QEEqeFIZktqIpPI4jSVSF>
Error executing service: <ServiceCall media_player.play_media (c:0515188db587653f499a789818bda2f9): entity_id=['media_player.spotify_carlos_vitorio_roque'], extra=, media_type=spotify://track, media_id=spotify:track:1QEEqeFIZktqIpPI4jSVSF>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1652, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 955, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 722, in async_play_media
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 109, in wrapper
raise HomeAssistantError("No active playback device found") from None
homeassistant.exceptions.HomeAssistantError: No active playback device found
What do I need to start music from the Media page?