Google Assistant SDK errors trying to set an alarm on a specific device

I’m trying to use Google Assistant SDK in a node-red flow, but I keep getting errors in the flow and in home assistant. It looks like the command is reaching google, but the action isn’t completed. I did see a workaround to what might have been a similar issue in this issue, but I don’t have a great idea how to do something similar with my intended use. Any help would be appreciated.

image

image

Node-RED error

HomeAssistantError: CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/d83bfd58025c11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvL2Q4M2JmZDU4MDI1YzExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTc4MzI1LCJleHAiOjE3MTQwNjQ3MjV9.sspd94noBhCnHbM-h1J5w6QMZAeuW9tAdeJeG-59hus timed out after 30.0 s.

HA Error

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 6:09:32 AM (5 occurrences)
Last logged: 12:05:55 PM

[128216691023552] CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/0e782b3a022b11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvLzBlNzgyYjNhMDIyYjExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTU2OTQyLCJleHAiOjE3MTQwNDMzNDJ9.Fewued2aTlWZ1-x5KTUd1G9mroWimXwwE1ZRwwjg9T8 timed out after 30.0 s.
[128216691023552] CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/0f0f89ee022b11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvLzBmMGY4OWVlMDIyYjExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTU2OTQzLCJleHAiOjE3MTQwNDMzNDN9.JmFHzpiHPCJt76h6O7KtBMLMdxozs8TKli_X013_7mQ timed out after 30.0 s.
[128216691023552] CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/de4016e2023111ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvL2RlNDAxNmUyMDIzMTExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTU5ODY3LCJleHAiOjE3MTQwNDYyNjd9.Tjxdi6eMn4fbFGOkR-e6X_a1xVSGZrYGsimJAlCp_AI timed out after 30.0 s.
[128216691023552] CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/e92efc7a025a11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvL2U5MmVmYzdhMDI1YTExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTc3NDk1LCJleHAiOjE3MTQwNjM4OTV9.lUIBa7Kh59dGAbUOcQJA94IDfGLJMR6pn_ePV6R07W4 timed out after 30.0 s.
[128216691023552] CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/d83bfd58025c11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvL2Q4M2JmZDU4MDI1YzExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTc4MzI1LCJleHAiOjE3MTQwNjQ3MjV9.sspd94noBhCnHbM-h1J5w6QMZAeuW9tAdeJeG-59hus timed out after 30.0 s.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 106, in wrapper
    return_value = func(self, *args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 514, in _quick_play
    quick_play(self._get_chromecast(), app_name, data)
  File "/usr/local/lib/python3.12/site-packages/pychromecast/quick_play.py", line 97, in quick_play
    controller.quick_play(**data, timeout=timeout)
  File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/media.py", line 559, in quick_play
    response_handler.wait_response()
  File "/usr/local/lib/python3.12/site-packages/pychromecast/response_handler.py", line 54, in wait_response
    raise RequestTimeout(self._request, self._timeout)
pychromecast.error.RequestTimeout: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/0e782b3a022b11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvLzBlNzgyYjNhMDIyYjExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTU2OTQyLCJleHAiOjE3MTQwNDMzNDJ9.Fewued2aTlWZ1-x5KTUd1G9mroWimXwwE1ZRwwjg9T8 timed out after 30.0 s.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/__init__.py", line 118, in send_text_command
    command_response_list = await async_send_text_commands(
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/helpers.py", line 93, in async_send_text_commands
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 971, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1043, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 783, in async_play_media
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 108, in wrapper
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.10.11:8123/api/google_assistant_sdk/audio/0e782b3a022b11ef8a9eba01dc69edc7?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjNjU2MmYwNDEwNTk0NWYwOTFkOTg5ZGQ2NTY0MWEwOSIsInBhdGgiOiIvYXBpL2dvb2dsZV9hc3Npc3RhbnRfc2RrL2F1ZGlvLzBlNzgyYjNhMDIyYjExZWY4YTllYmEwMWRjNjllZGM3IiwicGFyYW1zIjpbXSwiaWF0IjoxNzEzOTU2OTQyLCJleHAiOjE3MTQwNDMzNDJ9.Fewued2aTlWZ1-x5KTUd1G9mroWimXwwE1ZRwwjg9T8 timed out after 30.0 s.