I cant get any media to stream to my new apple tv integration. I can control the apple Tv and change the app and use the remote but when i try to airplay a local file i get the following error:
Failed to call service media_player/play_media. already streaming to device
I dont understand why because i am not streaming to the apple tv. this happens from any media source. I have tried deleting and re connecting the integration with no luck. Has anyone run into this issue?
I am running Home assistant core on a raspberry pi.
here is the full error logs
Logger: homeassistant.components.websocket_api.http.connection Source: components/apple_tv/media_player.py:297 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 1:21:45 PM (10 occurrences) Last logged: 1:41:11 PM  already streaming to device  already streaming to device  already streaming to device Traceback (most recent call last): File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/websocket_api/commands.py", line 189, in handle_call_service await hass.services.async_call( File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/core.py", line 1627, in async_call task.result() File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/core.py", line 1664, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/service.py", line 677, in entity_service_call future.result() # pop exception if have File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 964, in async_request_call await coro File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/service.py", line 714, in _handle_entity_call await result File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/apple_tv/media_player.py", line 297, in async_play_media await self.atv.stream.stream_file(media_id) File "/srv/homeassistant/lib/python3.9/site-packages/pyatv/core/facade.py", line 382, in stream_file await self.relay("stream_file")(file, **kwargs) File "/srv/homeassistant/lib/python3.9/site-packages/pyatv/protocols/raop/__init__.py", line 341, in stream_file self.playback_manager.acquire() File "/srv/homeassistant/lib/python3.9/site-packages/pyatv/protocols/raop/__init__.py", line 141, in acquire raise exceptions.InvalidStateError("already streaming to device") pyatv.exceptions.InvalidStateError: already streaming to device