### The problem
The issue solved in https://github.com/home-assistant/core/issu…es/92768 is still an issue in 2023.5.3 and sonos-websocket 0.1.1.
### What version of Home Assistant Core has the issue?
core-2023.5.3
### What was the last working version of Home Assistant Core?
core-2023.4.6
### What type of installation are you running?
Home Assistant Core
### Integration causing the issue
sonos
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/sonos/
### Diagnostics information
```
2023-05-21 16:36:05.433 ERROR (MainThread) [homeassistant.components.script.annonce_salon] Annonce salon: If at step 1: Error executing script. Error for call_service at pos 6: Error when calling Sonos websocket: loadAudioClip co mmand failed after 2 attempts
2023-05-21 16:36:05.445 ERROR (MainThread) [homeassistant.components.script.annonce_salon] Annonce salon: Error executing script. Error for if at pos 1: Error when calling Sonos websocket: loadAudioClip command failed after 2 att empts
2023-05-21 16:36:05.453 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/sonos/media_player.py", line 524, in async_play_media
response, _ = await self.speaker.websocket.play_clip(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/sonos_websocket/websocket.py", line 135, in play_clip
return await self.send_command(command, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/sonos_websocket/websocket.py", line 115, in send_command
raise SonosWebsocketError(
sonos_websocket.exception.SonosWebsocketError: loadAudioClip command failed after 2 attempts
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/script/__init__.py", line 463, in _async_run
return await self.script.async_run(script_vars, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1533, in async_run
await asyncio.shield(run.async_run())
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1068, in async_run
await super().async_run()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 410, in async_run
await self._async_step(log_exceptions=False)
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 454, in _async_step
self._handle_exception(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 477, in _handle_exception
raise exception
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 452, in _async_step
await getattr(self, handler)()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 924, in _async_if_step
await self._async_run_script(if_data["if_then"])
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1030, in _async_run_script
await self._async_run_long_action(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 649, in _async_run_long_action
long_task.result()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1533, in async_run
await asyncio.shield(run.async_run())
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 410, in async_run
await self._async_step(log_exceptions=False)
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 454, in _async_step
self._handle_exception(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 477, in _handle_exception
raise exception
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 452, in _async_step
await getattr(self, handler)()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 685, in _async_call_service_step
await service_task
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 1849, in async_call
task.result()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 1889, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/tts/legacy.py", line 161, in async_say_handle
await hass.services.async_call(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 1849, in async_call
task.result()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 1889, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/entity_component.py", line 226, in handle_service
await service.entity_service_call(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 798, in entity_service_call
future.result() # pop exception if have
^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/entity.py", line 980, in async_request_call
await coro
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 838, in _handle_entity_call
await result
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/sonos/media_player.py", line 529, in async_play_media
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error when calling Sonos websocket: loadAudioClip command failed after 2 attempts
```
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_