TTS.CLOUD_SAY and Google Nest Hub not working

I have a Nabu Casa subscription, and am using tts.cloud_say to broadcast speech to various Google devices in my house. My automations/scripts used to work fine with my Google Nest Hub, but this has recently stopped working - it makes the notification sound, but no text follows. I tried calling the tts.cloud_say service directly from the Services tab under Developer Tools with the same result.

I get error messages in my log files, but don’t understand what the root cause. It seems unable to find some devices, and play on others.

2022-11-24 02:13:10.506 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities media_player.kitchen_display or it is/they are currently not available
2022-11-24 02:13:10.666 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities media_player.kitchen_display or it is/they are currently not available
2022-11-24 02:13:10.772 ERROR (MainThread) [homeassistant.components.dlna_dmr] Error during call async_play_media: UpnpActionResponseError(‘Error during async_call(), status: 500, upnp error: 716 (Resource not found)’)
2022-11-24 02:13:18.731 WARNING (SyncWorker_10) [pychromecast.controllers] Quick Play failed for http://192.168.178.19:8123/api/tts_proxy/9c77becc842e9f556883e9bda6cfff1e930745d4_en-gb_a9c18110b0_cloud.mp3:audio/mpeg({})
2022-11-24 02:13:18.736 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall media_player.play_media (c:01GJKK44DBNZ52W5Q55WBNM9WN): entity_id=[‘media_player.music_room_pair’], announce=True, extra=, media_type=music, media_id=media-source://tts/cloud?message=Bye!++Lock+the+door!++You’re+the+last+one+out!&language=en-GB&gender=female>
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/core.py”, line 1762, in catch_exceptions
await coro_or_task
File “/usr/src/homeassistant/homeassistant/core.py”, line 1781, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 208, in handle_service
await service.entity_service_call(
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 678, in entity_service_call
future.result() # pop exception if have
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 943, in async_request_call
await coro
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 715, in _handle_entity_call
await result
File “/usr/src/homeassistant/homeassistant/components/cast/media_player.py”, line 749, in async_play_media
await self.hass.async_add_executor_job(
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.10/site-packages/pychromecast/quick_play.py”, line 77, in quick_play
controller.quick_play(**data)
File “/usr/local/lib/python3.10/site-packages/pychromecast/controllers/media.py”, line 547, in quick_play
raise PyChromecastError()
pychromecast.error.PyChromecastError`Preformatted text

1 Like