Add device information into text for alexa #249
-
Hello Folks, I'm wondering if I can add a device information variable in the text that alexa speaks, for example: "Text": " Welcome Eduardo. The current temperature is {{ states('sensor.ar_cond_room_temperature') }} would you like me to turn on the AC?" do you know if this is possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Just do it like this: That works when I tested but let me know if it doesn't on your side. i would recommend you use the developer tools template tester from home assistant for testing stuff like this. |
Beta Was this translation helpful? Give feedback.
Just do it like this:
"Welcome Eduardo. The current temperature is" + states('sensor.ar_cond_room_temperature') + "would you like me to turn on the AC?"
That works when I tested but let me know if it doesn't on your side. i would recommend you use the developer tools template tester from home assistant for testing stuff like this.