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

TTS.Google_translate_say seems not to accept data_template

$
0
0

@Zapa wrote:

Hello,
I’ve been lately trying to get the info from a simple DHT22 sensor and send an service call in order to play the value of the temperature through my speakers.
Following docs and similar topics, I’ve created and script:

  alias: Testing
  sequence:
    - service: tts.google_translate_say
      entity_id: media_player.symfonisk
      data_template:
        message: "La temperatura del salon es {{ states('sensor.temperatura_salon') }} grados."
        cache: false

But it doesn’t work, as far as I always get the same error.
extra keys not allowed @ data['data_template']

Where I’m getting lost?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



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