So how do I send TTS to media player in 2022?

It seems that something has changed, as my Text-To-Speech automations have gone totally silent.

Previously how I did this was with calling a script:

  alias: somethingsomething
  sequence:
    - service: tts.google_translate_say
      entity_id: media_player.player_name
      data_template:
        message: >
          Text to be sent

But now what I get in return is an error: “Media source not loaded”.

1 Like

Add this to your configuration.yaml file:

media_source:

Then restart.

4 Likes

Well that was quick and easy fix :smiley:

1 Like

Can you clarify where in the configuration.yaml does this line go?
Does this go under TTS, or just as a new section?

New section.