Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106656

How to send announcement using Test-to-Speach service?

$
0
0

Hello,

I am trying to send announcement to my media player. I do not need to script it or schedule. This is one time deal. It could happen a few times per year.
This is my configuration file:

tts:
  - platform: google_translate
    service_name: google_say

I am trying to send it using Template section under Developer Tools. Can someone tell me what am I doing wrong here? I am trying to use the following script, but I tried different variations and nothing works.

{%
{
  service: "tts.google_say"
  entity_id:  "media_player.living_room_google_home"
  data:
    message: "May the Force be with you."
  }
%}

Whatever I try, I got the following error:

Error rendering template: TemplateSyntaxError: tag name expected

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>