Hi to all,
I’m using HASS container v. 2022.6.7.
Just linked a Google Nest Mini as speech notification.
This is my configuration:
# Text to speech
tts:
- platform: google_translate
service_name: google_say
language: 'it'
base_url: https://www.example.com
And I get the warning in title.
So, after removed base_url, I tried
1- added my external URL in system > network
2-added
homeassistant:
customize: !include customize.yaml
packages: !include_dir_named packages
external_url: "https://www.example.com"
in configuration.yaml
In both cases I get:
Error executing service: <ServiceCall media_player.play_media (c:01G6Z4FZ11Q): entity_id=['media_player.studio'], announce=True, extra=, media_type=music, media_id=media-source://tts/google_translate?message=Antifurto+in+inserimento>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1722, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1741, 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 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 717, 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/local/lib/python3.9/site-packages/pychromecast/quick_play.py", line 77, in quick_play
controller.quick_play(**data)
File "/usr/local/lib/python3.9/site-packages/pychromecast/controllers/media.py", line 544, in quick_play
raise PyChromecastError()
pychromecast.error.PyChromecastError
And, of course, it doesn’t work (the Google nest doesn’t talk).