TTS base_url option is deprecated. Configure internal/external URL instead

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
  - platform: google_translate
    service_name: google_say
    language: 'it'

And I get the warning in title.

So, after removed base_url, I tried

1- added my external URL in system > network

  customize: !include customize.yaml
  packages: !include_dir_named packages
  external_url: ""

in configuration.yaml

In both cases I get:

Error executing service: <ServiceCall media_player.play_media (c:01G6Z4FZ11Q): entity_id=[''], 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/", line 1722, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]],
  File "/usr/src/homeassistant/homeassistant/helpers/", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/cast/", line 717, in async_play_media
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/pychromecast/", line 77, in quick_play
  File "/usr/local/lib/python3.9/site-packages/pychromecast/controllers/", line 544, in quick_play
    raise PyChromecastError()

And, of course, it doesn’t work (the Google nest doesn’t talk).

Is there somebody? :slight_smile:

I wonder if the external_url should be under the http: section?