Hi,
i want my google home respond with a sentence containing a value. google and someone in discord got me to this solution:
action:
- service: tts.google_say
entity_id: media_player.hobbyraum
data:
message: "hello {{ states('sensor.daylight') }} world!"
but my google home just says “hello states sensor daylight world”
JTPublic
(JT)
2
You’ll need to use data_template for that.
Also, make sure tts.google_say is the correct service, I have tts.google_translate_say.
action:
- service: tts.google_say
entity_id: media_player.hobbyraum
data_template:
message: "hello {{ states('sensor.daylight') }} world!"
3ATIVE
4
Take a look at my video tutorial, you may find some interesting TTS Tips