How to make the service translate_google_say tell the value of a sensor inside an automation? Which is the correct syntax?
Something like:
- service: tts.my_google
data_template:
message: "The living room is at {{ states('sensor.living_room_toaster') }} {{ state_attr('sensor.living_room_toaster','unit_of_measurement') }}
See the documentation which even has an example like this.
Thanks a lot… solved!